notcurses icon indicating copy to clipboard operation
notcurses copied to clipboard

notcurses-tester hangs on windows

Open dankamongmen opened this issue 3 years ago • 1 comments

We can now build notcurses-tester on Windows in all of its glory. Unfortunately, trying to run it sees it hang after performing initialization, in both mintty and Microsoft Terminal. I'd like to have this fixed and running in CI for 3.0.0, but it's not the biggest deal in the world.

dankamongmen avatar Nov 22 '21 01:11 dankamongmen

ahhh; our windows compat implementaiton of is_tty_fd() just checks that the fd is >= 0. we then dump queries to this fd which are never answered.

with a proper is_tty_fd() predicate, this will work.

dankamongmen avatar Nov 24 '21 16:11 dankamongmen