Tmux status line fills up the buffer #254

Open
opened 2026-01-30 21:46:57 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (May 14, 2018).

Filed re: discussion on https://www.reddit.com/r/bashonubuntuonwindows/comments/8j6xbt/vim_tmux_on_wsl/

sam007961

It sort of works. The tmux theme is buggy and unusable, but everything else works fine.
The thing is I'm not sure if the source of the bug is tmux or the default terminal or even the theme. The major issue was was the tmux status line would keep reprinting and eventually filling up the screen when the theme is enabled. I read somewhere that this is an issue related to Unicode character width. It could also be some kind of Unicode mismatch between tmux and the default terminal.
I was able to fix the buggy status line somehow by configuring both bash and tmux to 256 color mode. Not sure why or how that fixed it, but some colors are still off in tmux. My guess is it might have to do with bold fonts. (i.e cmd interprets bold as a color)

zadjii

The major issue was was the tmux status line would keep reprinting and eventually filling up the screen when the theme is enabled

Oooh, that might actually be a real bug. I think I've noticed that with my own tmux instance - I assumed it was a bug with the interop work I was doing, but that's clearly not the case if it's reproing for you on Fall Creator's Update. I probably regressed something here.

I was able to fix the buggy status line somehow by configuring both bash and tmux to 256 color mode.

... That's certainly interesting. That almost raises more questions, but might be helpful in figuring it out.

My guess is it might have to do with bold fonts. (i.e cmd interprets bold as a color)

Right on - conhost doesn't support bolded fonts, so we only bold the color (which is pretty typical behavior). There is still some outstanding bugginess with 256 color and bolding, so that should get better in April Update.

Originally created by @zadjii-msft on GitHub (May 14, 2018). Filed re: discussion on https://www.reddit.com/r/bashonubuntuonwindows/comments/8j6xbt/vim_tmux_on_wsl/ *sam007961* > It sort of works. The tmux theme is buggy and unusable, but everything else works fine. > The thing is I'm not sure if the source of the bug is tmux or the default terminal or even the theme. The major issue was was the tmux status line would keep reprinting and eventually filling up the screen when the theme is enabled. I read somewhere that this is an issue related to Unicode character width. It could also be some kind of Unicode mismatch between tmux and the default terminal. > I was able to fix the buggy status line somehow by configuring both bash and tmux to 256 color mode. Not sure why or how that fixed it, but some colors are still off in tmux. My guess is it might have to do with bold fonts. (i.e cmd interprets bold as a color) *zadjii* >> The major issue was was the tmux status line would keep reprinting and eventually filling up the screen when the theme is enabled > >Oooh, that might actually be a real bug. I think I've noticed that with my own tmux instance - I assumed it was a bug with the interop work I was doing, but that's clearly not the case if it's reproing for you on Fall Creator's Update. I probably regressed something here. > >> I was able to fix the buggy status line somehow by configuring both bash and tmux to 256 color mode. > >... That's certainly interesting. That almost raises *more* questions, but might be helpful in figuring it out. > >> My guess is it might have to do with bold fonts. (i.e cmd interprets bold as a color) > >Right on - conhost doesn't support bolded fonts, so we only bold the color (which is pretty typical behavior). There is still some outstanding bugginess with 256 color and bolding, so that should get better in April Update.
claunia added the Product-ConhostIssue-BugArea-VTResolution-Duplicate labels 2026-01-30 21:46:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#254