1
0
mirror of https://github.com/janet-lang/janet synced 2025-04-27 21:23:17 +00:00

Merge pull request #298 from leahneukirchen/m-del

Make alt-backspace behave like ctrl-w.
This commit is contained in:
Calvin Rose 2020-03-07 10:14:14 -06:00 committed by GitHub
commit 3f3b756b61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;