1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-05 18:13:37 +00:00

Merge branch 'master' into net

This commit is contained in:
Calvin Rose
2020-03-05 18:08:35 -06:00
21 changed files with 521 additions and 205 deletions

View File

@@ -620,8 +620,12 @@ static int line() {
clearlines();
return -1;
case 4: /* ctrl-d, eof */
clearlines();
return -1;
if (gbl_len == 0) { /* quit on empty line */
clearlines();
return -1;
}
kdelete(1);
break;
case 5: /* ctrl-e */
gbl_pos = gbl_len;
refresh();