imtui
imtui copied to clipboard
No output in tmux / screen
Using imtui from within a tmux session, I get a completely blank screen. Looking in the debugger, the render loop does appear to be running, but nothing is visible. I believe tmux uses the alternate screen itself, so maybe we're toggling out of that mode and sending output to the wrong place? I also tested from screen and see the same behaviour, so I don't think it's a bug in tmux.
Might be the same issue as in #10 ?
Looks like it. Setting TERM to screen-256color gave me output but the mouse didn't work. Setting it to xterm-256color worked (I could have sworn I tried that, but apparently not). It would be nice if there were some way of reporting this to the programmer so that I can print a helpful error message and exit, rather than a black screen.