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

Colors not shown in tmux #141

Closed
snckrz opened this issue Oct 23, 2023 · 2 comments
Closed

Colors not shown in tmux #141

snckrz opened this issue Oct 23, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@snckrz
Copy link

snckrz commented Oct 23, 2023

Description:
There seems to be no support for colors, when running nchat inside of tmux.
Im not sure if its a config error on my end, however, other apps (htop) or angular cli seem to have no trouble with color output.
How to reproduce it:
run nchat in tmux
Environment:

  • Version: 3.67
  • OS / distro: macOS 14.0
@snckrz snckrz added the bug Something isn't working label Oct 23, 2023
@d99kris
Copy link
Owner

d99kris commented Oct 23, 2023

Hi @snckrz - I'm not sure, but I believe it might be an incompatibility between ncurses and tmux.

As a temporary workaround, perhaps you can try setting the TERM you have outside tmux, i.e. if outside tmux you run echo $TERM and it returns xterm-256color, then when running nchat you can try run it like this:

TERM=xterm-256color nchat

From some quick googling, it is not the right way to do so, but I think it may do as a temporary workaround.

@d99kris d99kris changed the title No colors inside of tmux Colors not shown in tmux Nov 13, 2023
@d99kris d99kris closed this as completed in 6858b93 Dec 9, 2023
@d99kris
Copy link
Owner

d99kris commented Dec 9, 2023

I've added the workaround to the README, closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants