Originally reported via dundee/gdu#424 for gdu, a program using tcell v2 for its TUI.
Describe the bug
Using gdu on Termux on Android, trying to start gdu under TERM=tmux-256color reports the terminal type as unsupported, despite it having a corresponding terminfo entry.
To Reproduce
$ echo $TERM
tmux-256color
$ infocmp tmux-256color | head -n2
# Reconstructed via infocmp from file: /data/data/com.termux/files/usr/share/terminfo/t/tmux-256color
tmux-256color|tmux with 256 colors,
$ gdu
Error: error creating screen: terminal type unsupported
Expected behavior
gdu to launch normally.
System (please complete the following information):
- OS: Android 13
- Terminal: tmux in Termux
- Version: 5.31.0
Additional context
Launching outside of tmux (TERM=xterm-256color) works fine, as does manually launching with TERM=tmux. On a separate Arch Linux box (same gdu version), I can launch under TERM=tmux-256color without any issues, so the problematic environment seems to be a combination of Android/Termux and tmux and 8-bit terminal colour?
Originally reported via dundee/gdu#424 for gdu, a program using tcell v2 for its TUI.
Describe the bug
Using gdu on Termux on Android, trying to start
gduunderTERM=tmux-256colorreports the terminal type as unsupported, despite it having a corresponding terminfo entry.To Reproduce
Expected behavior
gdu to launch normally.
System (please complete the following information):
Additional context
Launching outside of tmux (
TERM=xterm-256color) works fine, as does manually launching withTERM=tmux. On a separate Arch Linux box (same gdu version), I can launch underTERM=tmux-256colorwithout any issues, so the problematic environment seems to be a combination of Android/Termux and tmux and 8-bit terminal colour?