imtui icon indicating copy to clipboard operation
imtui copied to clipboard

No output in tmux / screen

Open davidchisnall opened this issue 3 years ago • 2 comments

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.

davidchisnall avatar Mar 19 '22 10:03 davidchisnall

Might be the same issue as in #10 ?

ggerganov avatar Mar 19 '22 11:03 ggerganov

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.

davidchisnall avatar Mar 19 '22 15:03 davidchisnall