mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 18:34:42 +00:00
cli: always show cursor
We may enter the command line interface in a state where on the remote console the cursor is not shown. Send an escape sequence to enable it. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
ac0cd5267f
commit
d2e4b2fa04
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
#define pr_fmt(fmt) "cli: %s: " fmt, __func__
|
||||
|
||||
#include <common.h>
|
||||
#include <ansi.h>
|
||||
#include <bootstage.h>
|
||||
#include <cli.h>
|
||||
#include <cli_hush.h>
|
||||
|
@ -336,4 +337,7 @@ void cli_init(void)
|
|||
#if defined(CONFIG_HUSH_INIT_VAR)
|
||||
hush_init_var();
|
||||
#endif
|
||||
|
||||
if (CONFIG_IS_ENABLED(VIDEO_ANSI))
|
||||
printf(ANSI_CURSOR_SHOW "\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue