mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 01:37:19 +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