No display on tmux
toyboot4e opened this issue ยท 4 comments
It might be more like an issue of tmux. Both hnterm and imtui-example-ncurses0 worked well in my terminal, but when I run them using tmux, I didn't see anything.
That happened on macOS Catalina with any kind of terminal. I used default .tmux.conf.
I can confirm that on Ubuntu, hnterm does not render anything when using tmux. Probably something to do with tmux + ncurses compatibility.
Hiya! I ran in to the same issue.
I think you're going to want to check to see what your $TERM environment variable is set to within tmux. I suspect that your current $TERM value is just set to screen in your tmux session?
If so, you're going to want to make sure that outside tmux on on macos, you are using:
# not in tmux
$ echo $TERM
xterm-256colorand start new tmux sessions with tmux -2, which will give you:
# in tmux
$ echo $TERM
screen-256colorWhich enables us to run the demos.
I've got an alias tmux="tmux -2" for convenience.
Thank you, good to know that! I tried echo $TERM without that alias:
$ # in tmux
$ echo $TERM
xterm-24bit
$ # wowI remember enabling true color support in my terminal (for Emacs) -- but I'm not sure if it was after opening this issue. Now I just run hnterm and it's working nicely in any terminal!
@ggerganov Feel free to close this issue!
I can confirm that after setting TERM=screen-256color it now also works in my Ubuntu environment.