Commit 48e41b36 authored by Jonas Termansen's avatar Jonas Termansen

Support the ^[[1~ for Home and ^[[4~ for End escape sequences in sh(1).

parent ca2969b0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment