1
0
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:
Leah Neukirchen 2020-03-06 10:53:34 +01:00
parent fbe8998ca8
commit 1aaa5618de

View File

@ -765,6 +765,9 @@ static int line() {
case '.': /* Alt-. */
historymove(-JANET_HISTORY_MAX);
break;
case 127: /* Alt-backspace */
kbackspacew();
break;
}
}
break;