Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: status bar item duplication on conf reload #55

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aleeraser
Copy link

This fixes a weird behavior where a custom status bar item (e.g. a prefix) would be duplicated in the status bar after a configuration reload.

e.g. prior to this fix, setting:

set -g @theme-status-left-prefix "test"

and reloading the configuration multiple times would result in multiple 'test' strings being added as prefix.

Fixes #54

@aleeraser aleeraser force-pushed the fix/duplication-on-reload branch 3 times, most recently from 48ca147 to 28b2fe8 Compare December 18, 2023 17:42
This fixes a weird behavior where a custom status bar item (e.g. a prefix) would
be duplicated in the status bar after a configuration reload.

e.g. prior to this fix, setting:

  set -g @theme-status-left-prefix "test"

and reloading the configuration multiple times would result in multiple 'test'
strings being added as prefix.

Fixes jimeh#54
@idvorkin
Copy link

idvorkin commented Apr 13, 2024

This resolves for me! What's the process to merge this PR? @jimeh

@aleeraser
Copy link
Author

This resolves for me! What's the process to merge this PR? @jimeh

Not sure if he's ever going to answer/merge this, last commit is over 5 years old.

Anyway, you can temporarily use this fix by specifying:

set -g @plugin 'aleeraser/tmux-themepack#fix/duplication-on-reload'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@theme*-prefix/suffix and configuration reload error
2 participants