o0th / tmux-nova

tmux theme
MIT License
173 stars 20 forks source link

Limited default length of status-left and status-right #35

Closed diogoDSN closed 4 months ago

diogoDSN commented 6 months ago

Limited default length of status-left and status-right

I wanted to have the following scheme for my status line: Screenshot 2024-04-03 at 16 37 38 However, when the session name is larger it overflows its segment. Here the session is called '0123456789': Screenshot 2024-04-03 at 16 38 30

After reading the nova scripts I thought that the problem was directly from tmux and found the status-left-length option. It seems tmux limits the length of status-left, and right, to 10 characters by default. After setting this option to 100 the problem was solved: Screenshot 2024-04-03 at 18 32 47

I think nova should either handle this for the user or at least mention it in the documentation so that the user can customize their theme without having to read the original tmux status line docs.

o0th commented 4 months ago

Hi @diogoDSN, thank you for using my plugin and opening an issue! I added a FAQ section in the README that explain and address the issue. I don't want to overwrite these values via tmux-nova to give the user more flexibility.