tmux-plugins / tmux-prefix-highlight

Plugin that highlights when you press tmux prefix key

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Status bar get's cleared completely

AxxiD opened this issue · comments

commented

I just updated all my plugins and it took me some time to figure out that this plugin is the problem by updating them manually one by one.

With the last commit d9e4e606c4bda822041f4ea4e5231a38bee07eec my entire status bar get's cleared completely when loading.

The issue seems to stem from the way the values for status-right and status-left are set.

Important parts of my .tmux.conf

set -g status-left "$wg_session"
set -g status-right "#{prefix_highlight} $wg_is_keys_off $wg_is_zoomed #{sysstat_cpu} | #{sysstat_mem} | $wg_user_host | $wg_date "

# [...]

# Configure tmux-prefix-highlight colors
set -g @prefix_highlight_output_prefix '['
set -g @prefix_highlight_output_suffix ']'
set -g @prefix_highlight_fg "$color_dark"
set -g @prefix_highlight_bg "$color_secondary"
set -g @prefix_highlight_show_copy_mode 'on'
set -g @prefix_highlight_copy_mode_attr "fg=$color_dark,bg=$color_secondary"

# [...]

# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-sidebar'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'samoshkin/tmux-plugin-sysstat'

# [...]

# Run all plugins
run '~/.tmux/plugins/tpm/tpm'

I'm having the same issue :(

Happened to me too.

I am having the same problem.

Hi there. Could someone validate if #33 has fixed the problem?

Yup, #33 fixed this for me. Thanks!

Thank you. Closing the issue for now.