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:
parent
ecdef8de8b
commit
84f2c84fb5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user