console: Reset the pager when clearing the console

When the console is cleared we have a fresh screen so we can reset the
pager.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-09-24 14:59:28 -06:00
parent 81e1ce0ea7
commit 82e2ee10d6

View File

@@ -1108,6 +1108,7 @@ int console_clear(void)
if (ret)
return ret;
}
pager_reset(gd_pager());
return 0;
}