Stuff ^[[H/^[[F for home/end instead of ^[OH/^[OF
This commit is contained in:
parent
ead924b110
commit
9cf3fa4fe2
@ -858,10 +858,10 @@ void key_event(int ret, key_event_t * event) {
|
||||
handle_input_s("\033[6~");
|
||||
break;
|
||||
case KEY_HOME:
|
||||
handle_input_s("\033OH");
|
||||
handle_input_s("\033[H");
|
||||
break;
|
||||
case KEY_END:
|
||||
handle_input_s("\033OF");
|
||||
handle_input_s("\033[F");
|
||||
break;
|
||||
case KEY_DEL:
|
||||
handle_input_s("\033[3~");
|
||||
|
@ -1496,7 +1496,7 @@ static void key_event(int ret, key_event_t * event) {
|
||||
redraw_scrollback();
|
||||
}
|
||||
} else {
|
||||
handle_input_s("\033OH");
|
||||
handle_input_s("\033[H");
|
||||
}
|
||||
break;
|
||||
case KEY_END:
|
||||
@ -1504,7 +1504,7 @@ static void key_event(int ret, key_event_t * event) {
|
||||
scrollback_offset = 0;
|
||||
redraw_scrollback();
|
||||
} else {
|
||||
handle_input_s("\033OF");
|
||||
handle_input_s("\033[F");
|
||||
}
|
||||
break;
|
||||
case KEY_DEL:
|
||||
|
Loading…
Reference in New Issue
Block a user