fixed another readline bug

This commit is contained in:
Izaya 2017-07-15 03:29:22 +10:00
parent f12201b51f
commit 57cbc73e33

View File

@ -3,7 +3,7 @@ function readln(rC)
while true do while true do
if ev[1] == "key" and ev[2] == si then if ev[1] == "key" and ev[2] == si then
if ev[3] == 13 then if ev[3] == 13 then
write("\n") write(" \n")
C.yield() C.yield()
return s return s
elseif ev[3] == 8 then elseif ev[3] == 8 then