mirror of
https://github.com/janet-lang/janet
synced 2024-12-28 09:20:26 +00:00
Remove restriction on bytes being input to getline.
This commit is contained in:
parent
922a21d359
commit
1eb00a9f74
@ -763,7 +763,6 @@ static int line() {
|
|||||||
|
|
||||||
switch (c) {
|
switch (c) {
|
||||||
default:
|
default:
|
||||||
if (c < 0x20) break;
|
|
||||||
if (insert(c, 1)) return -1;
|
if (insert(c, 1)) return -1;
|
||||||
break;
|
break;
|
||||||
case 1: /* ctrl-a */
|
case 1: /* ctrl-a */
|
||||||
|
Loading…
Reference in New Issue
Block a user