mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
Make alt-backspace behave like ctrl-w.
Another common binding in readline and its clones.
This commit is contained in:
parent
fbe8998ca8
commit
1aaa5618de
@ -765,6 +765,9 @@ static int line() {
|
||||
case '.': /* Alt-. */
|
||||
historymove(-JANET_HISTORY_MAX);
|
||||
break;
|
||||
case 127: /* Alt-backspace */
|
||||
kbackspacew();
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user