antonmedv / walk

Terminal file manager
MIT License
3.22k stars 89 forks source link

No highlighting when run in screen and $TERM=screen #42

Closed smpaine closed 1 year ago

smpaine commented 1 year ago

When run under a screen session, there is no highlighting, so the currently selected item is unknown. Appears that screen sets the "TERM" environment variable to "screen" which appears to cause the issue.

llama running under bash, not in a screen session; TERM is xterm-256color: llama_in_bash

llama running under bash, while in a screen session; TERM is screen. Overriding TERM variable with xterm-256color resolves the issue. llama_in_bash_in_screen_session

System is FreeBSD 13.1

antonmedv commented 1 year ago

I guess this is how bubbletea is working.

Better to open an issue at https://github.com/charmbracelet/bubbletea