mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Support the ^[[1~ for Home and ^[[4~ for End escape sequences in sh(1).
This commit is contained in:
parent
ca2969b033
commit
48e41b36a3
1 changed files with 4 additions and 0 deletions
|
@ -611,8 +611,12 @@ void edit_line(struct edit_line* edit_state)
|
|||
edit_line_show(edit_state);
|
||||
} break;
|
||||
case '~':
|
||||
if ( params[0] == 1 )
|
||||
edit_line_type_home(edit_state);
|
||||
if ( params[0] == 3 )
|
||||
edit_line_type_delete(edit_state);
|
||||
if ( params[0] == 4 )
|
||||
edit_line_type_end(edit_state);
|
||||
break;
|
||||
}
|
||||
escape = 0;
|
||||
|
|
Loading…
Reference in a new issue