nordtheme / tmux

An arctic, north-bluish clean and elegant tmux color theme.
https://www.nordtheme.com/ports/tmux
MIT License
1.06k stars 140 forks source link

Weird status bar behavior, black/grey triangles? #17

Open mariahmartinez opened 6 years ago

mariahmartinez commented 6 years ago

Seems when I have more than one window, there are black/grey triangles showing up. Im using inconsolata patched font from powerline.

screen shot 2017-12-01 at 1 43 20 pm
arcticicestudio commented 6 years ago

Thanks for your contribution :+1:

Sorry for my late reply. I'll need some more information to try to reproduce this like the terminal emulator you're using and maybe your shell- and tmux config.

Also can you please try to follow these instructions I've posted in another related issue and see if it fixes your problem?

arcticicestudio commented 6 years ago

Any progress, have you been able to fix the problem with the provided instructions? If you fixed it on your own it would be nice if'd post the solution so it can be documented for other users :smile:

tkupari commented 6 years ago

I have this same problem. Running iTerm2 and tmux 2.6 on macOS (installed with brew)

test output screen shot 2018-01-02 at 15 42 07

tmux.conf contents

set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"

set -g prefix C-a
unbind C-b
bind C-a send-prefix

set -sg escape-time 0

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'arcticicestudio/nord-tmux'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
arcticicestudio commented 6 years ago

@tkupari @mariahmartinez The problem might occur if the font you're using in your terminal is not able to view the separator arrow glyphs. Can you test if disabling the patched font usage in the status bar fixes the problem by setting the nord_tmux_no_patched_font option to 1 in your config file:

set -g @nord_tmux_no_patched_font "1"
tkupari commented 6 years ago

Well it does not fix the problem per se, as it draws the statusline without any triangle glyphs. I'm using Hack font. I'll experiment with other fonts to see if the problem persists.

tkupari commented 6 years ago

Ok, I found the problem. There's a "minimum contrast" slider in iTerm color options. It will mess up the glyph colors. Sorry for the trouble.

arcticicestudio commented 6 years ago

@tkupari Nice to hear that it works fine now for you and thanks to post the solution :smile: @mariahmartinez Are you also using iTerm (2)? If yes, can you try to disable the minimum contrast option too to see if this fixes the arrow glyphs.

eujing commented 6 years ago

I have had this problem too for awhile, but realize that weirdly I do not get this problem over SSH. What could be the possible issue?

tmux

mariahmartinez commented 6 years ago

@tkupari Oh wow, sorry I didn't even realize this issue had any activity. Yes I am using iterm2 and reducing the minimum contrast got rid of the issue! 🙌

arcticicestudio commented 6 years ago

@mariahmartinez :tada: Good to know that it fixed your problem. I'll add some details for iTerm2 users to the documentation. Off-Topic: I can really recommend Octobox, it helps me a lot to keep track of the many notifications I get everyday.

@eujing This is strange, normally the contrast setting should apply to all shell sessions. Is this reproducible when you connect via SSH and then turn down or disable the minimum contrast?

eujing commented 6 years ago

@arcticicestudio Unfortunately I am not using iTerm2, but am using alacritty on Arch Linux. This is not specific to alacritty though, as it happened when I was using termite as my terminal emulator too.