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:
@@ -1108,6 +1108,7 @@ int console_clear(void)
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
pager_reset(gd_pager());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user