----- Original Message -----
By default, the clear screen behaviour is only used when not in
insertion mode. This causes the screen to clear in insertion mode
instead of just printing a '^L'.
Signed-off-by: Kyle Walker <kwalker(a)redhat.com>
---
cmdline.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cmdline.c b/cmdline.c
index 226bd20..dd310ed 100644
--- a/cmdline.c
+++ b/cmdline.c
@@ -2059,6 +2059,8 @@ readline_init(void)
vi_insertion_keymap);
rl_bind_key_in_map(CTRL('N'), rl_get_next_history,
vi_insertion_keymap);
+ rl_bind_key_in_map(CTRL('l'), rl_clear_screen,
+ vi_insertion_keymap);
rl_generic_bind(ISFUNC, "[A", (char *)rl_get_previous_history,
vi_movement_keymap);
--
2.4.3
Clear enough -- queued for crash-7.1.4:
https://github.com/crash-utility/crash/commit/34ca7f4e35b1de6c63ce319447b...
Thanks,
Dave