mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 08:20:27 +00:00
Fix tabs in repl.
This commit is contained in:
parent
ecdef8de8b
commit
84f2c84fb5
@ -327,6 +327,10 @@ static int line() {
|
|||||||
default:
|
default:
|
||||||
if (insert(c)) return -1;
|
if (insert(c)) return -1;
|
||||||
break;
|
break;
|
||||||
|
case 9: /* tab */
|
||||||
|
if (insert(' ')) return -1;
|
||||||
|
if (insert(' ')) return -1;
|
||||||
|
break;
|
||||||
case 13: /* enter */
|
case 13: /* enter */
|
||||||
return 0;
|
return 0;
|
||||||
case 3: /* ctrl-c */
|
case 3: /* ctrl-c */
|
||||||
|
Loading…
Reference in New Issue
Block a user