1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +00:00

Fix tabs in repl.

This commit is contained in:
Calvin Rose 2018-08-25 15:34:27 -04:00
parent ecdef8de8b
commit 84f2c84fb5

View File

@ -327,6 +327,10 @@ static int line() {
default:
if (insert(c)) return -1;
break;
case 9: /* tab */
if (insert(' ')) return -1;
if (insert(' ')) return -1;
break;
case 13: /* enter */
return 0;
case 3: /* ctrl-c */