You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.
I don't know if this is an OpenOS issue or an OCEmu issue, but man is probably tested to work fine in-game, so I'm filing an issue here.
If you run more with text bigger than your screen (or any command that uses more), e.g. man ls or man grep, it crashes with this error:
Raw text:
/bin/more.lua:33: attempt to call method 'pull' (a nil value):
stack traceback:
/bin/more.lua:33: in function 'scroll'
/bin/tty.lua:97: in function 'write'
/bin/buffer.lua:167: in function </lib/buffer.lua:147>
(...tail calls...)
/bin/cat.lua:32: in main chunk
(...tail calls...)
[C]: in function 'xpcall'
machine:791: in function 'xpcall'
/lib/process.lua:63: in function </lib/process.lua:59>
Offending line of code:
local _, _, _, code = original_stream:pull(nil, "key_down") -- nil timeout is math.huge
where original_stream is io.stdout.stream.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I don't know if this is an OpenOS issue or an OCEmu issue, but
man
is probably tested to work fine in-game, so I'm filing an issue here.If you run
more
with text bigger than your screen (or any command that usesmore
), e.g.man ls
orman grep
, it crashes with this error:Raw text:
Offending line of code:
where
original_stream
isio.stdout.stream
.The text was updated successfully, but these errors were encountered: