Unwanted characters in window status
omar2205 opened this issue · 6 comments
Dear @omar2205 ,
Can you show me the result of this command in this tmux status?
Thanks !
tmux show-option -g
Hey @charlietag, thanks for getting back to me,
I suspect those are the culprit, do you know how to remove them?
Hi @omar2205 ,
Solution
I hope this could help you to remove them.
Modify this file manually:
~/.tmux/plugins/tmux-split-statusbar/scripts/helpers.sh
-46: status_format_0_tobe="$(echo "${status_format_0_default}" | sed 's/:status-left//g' | sed 's/:status-right//g')"
+46: status_format_0_tobe="$(echo "${status_format_0_default}" | sed 's/:status-left//g' | sed 's/:status-right//g' | sed 's#T;=/##g' )"
Tmux source code
-
But these are tmux default parameters, I'm not sure what they are really for.
Ref. https://github.com/tmux/tmux/blob/master/options-table.c#L85/* Status line format. */ #define OPTIONS_TABLE_STATUS_FORMAT1 \ "#[align=left range=left #{status-left-style}]" \ "#[push-default]" \ "#{T;=/#{status-left-length}:status-left}" \ "#[pop-default]" \ "#[norange default]" \
Hi @omar2205 ,
I've push a new commit for this.
ddd6e6a#diff-e015cc3ac522b202bb23852488a7ac2c019e2c82568ecb387b97b60ebbecdf4b
Can you try to undo the change and update the repo to the latest status.
Command
Undo changes
git checkout ~/.tmux/plugins/tmux-split-statusbar/scripts/helpers.sh
Update the repo to the latest status
cd ~/.tmux/plugins/tmux-split-statusbar
git pull
Yep, it worked, thanks.