Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No output in tmux / screen #41

Open
davidchisnall opened this issue Mar 19, 2022 · 2 comments
Open

No output in tmux / screen #41

davidchisnall opened this issue Mar 19, 2022 · 2 comments

Comments

@davidchisnall
Copy link

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.

@ggerganov
Copy link
Owner

Might be the same issue as in #10 ?

@davidchisnall
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants