1
0
mirror of https://github.com/janet-lang/janet synced 2024-09-28 23:10:40 +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-. */ case '.': /* Alt-. */
historymove(-JANET_HISTORY_MAX); historymove(-JANET_HISTORY_MAX);
break; break;
case 127: /* Alt-backspace */
kbackspacew();
break;
} }
} }
break; break;