sabotage-linux / netbsd-curses

libcurses and dependencies taken from netbsd and brought into a portable shape (at least to musl or glibc)
Other
147 stars 14 forks source link

sl hangs in linux terminal #28

Open ddevault opened 7 years ago

rofl0r commented 7 years ago

sl ?

ddevault commented 7 years ago

steam locomotive: https://github.com/mtoyoda/sl

rofl0r commented 7 years ago

works for me in both xterm and linux term, however it hangs until a key is pressed - but it looks to me as if this is by design...

ddevault commented 7 years ago

You right, I can get it to go by pressing a key. But this doesn't seem to be necessary with ncurses.

rofl0r commented 7 years ago

indeed - that's funny because it uses getch(). seems i need to read the code a bit more exhaustively...

rofl0r commented 7 years ago

according to the getch manpage of ncurses, it should behave differently in no-delay mode, which we apparently fail to do. forwarded and waiting for upstream feedback.

rofl0r commented 6 years ago

@SirCmpwn i just backported all upstream work; would you mind testing if it fixes this issue ?

ddevault commented 6 years ago

Just tested it on the master branch, same behavior. Can you reproduce?

rsmarples commented 5 years ago

sl would set cbreak() mode. https://github.com/mtoyoda/sl/pull/63