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

Odd output on plugin install #25

Closed
michaelmior opened this issue Apr 24, 2015 · 10 comments
Closed

Odd output on plugin install #25

michaelmior opened this issue Apr 24, 2015 · 10 comments

Comments

@michaelmior
Copy link

I'm getting a strange sequence of characters when I try to install plugins. Aside from this, everything seems to work ok.

[?1000h[?1049h[?1h=[1;24r[34l[34h[?25h[23m[24m[0m[38;5;250m[48;5;234m[?1000l[?1000h[?1000l[?1000h[?1000l[?1000h[?1000l[?1000h[?1000l[0/0]
[?1000l[?1000h[?1000l[?1000h[?1000l[24;80H[K[24;1H[?1l>[?1049l
Already installed "tpm"
Already installed "tmux-sensible"
Already installed "tmux-resurrect"
[?1000h[?1049h[?1h=[1;24r[34l[34h[?25h[23m[24m[0m[38;5;250m[48;5;234m[?1000l[?1000h[?1000l[?1000h[?1000l[?1000h[?1000l[?1000h[?1000l[?1h0l [?1000h [?1000l [?1h
[?1000l[?1000h[?1000l[?1000h[?1000l[24;80H[K[24;1H[?1l>[?1049ll > [?1049l

TMUX environment reloaded.

Done, press ENTER to continue.
@jbnicolai
Copy link
Member

These seem to be ascii color codes and TTY control characters. Not sure what's causing them though.

@bruno-
Copy link
Member

bruno- commented Jul 7, 2015

Any updates on this?

@bruno-
Copy link
Member

bruno- commented Aug 3, 2015

Closing this because there's no followup.

@bruno- bruno- closed this as completed Aug 3, 2015
@michaelmior
Copy link
Author

I'm not sure what other information would be helpful. I'm still experiencing this issue.

@bruno-
Copy link
Member

bruno- commented Aug 3, 2015

Hey,
here's some info that would be helpful:

  • .tmux.conf content
  • what terminal are you using?
  • what shell is used?
    • if zsh shell is used, are you using plugins? Does disabling plugins change anything?
  • what OS is used? (just in case)

Thanks

@bruno- bruno- reopened this Aug 3, 2015
@michaelmior
Copy link
Author

You prompted me to investigate more. It seems that it's a conflict with tmuxline. It sets up the status line to mirror my vim-air settings. I have the following line in my ~/.tmux.conf to initialize it when a tmux session starts.

run-shell "vim +quit &> /dev/null"

After a bit of digging, it generates and sources a tmux config with the following content

set -g status-bg "colour237"
set -g message-command-fg "colour250"
set -g status-justify "left"
set -g status-left-length "100"
set -g status "on"
set -g pane-active-border-fg "colour65"
set -g message-bg "colour235"
set -g status-right-length "100"
set -g status-right-attr "none"
set -g message-fg "colour250"
set -g message-command-bg "colour235"
set -g status-attr "none"
set -g status-utf8 "on"
set -g pane-border-fg "colour235"
set -g status-left-attr "none"
setw -g window-status-fg "colour250"
setw -g window-status-attr "none"
setw -g window-status-activity-bg "colour237"
setw -g window-status-activity-attr "none"
setw -g window-status-activity-fg "colour65"
setw -g window-status-separator ""
setw -g window-status-bg "colour237"
set -g status-left "#[fg=colour193,bg=colour65] #S #[fg=colour65,bg=colour237,nobold,nounderscore,noitalics]"
set -g status-right "#[fg=colour235,bg=colour237,nobold,nounderscore,noitalics]#[fg=colour250,bg=colour235] %Y-%m-%d  %H:%M #[fg=colour65,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour193,bg=colour65] #h "
setw -g window-status-format "#[fg=colour250,bg=colour237] #I #[fg=colour250,bg=colour237] #W "
setw -g window-status-current-format "#[fg=colour237,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour250,bg=colour235] #I #[fg=colour250,bg=colour235] #W #[fg=colour235,bg=colour237,nobold,nounderscore,noitalics]"
set -g status-bg "colour237"
set -g message-command-fg "colour250"
set -g status-justify "left"
set -g status-left-length "100"
set -g status "on"
set -g pane-active-border-fg "colour65"
set -g message-bg "colour235"
set -g status-right-length "100"
set -g status-right-attr "none"
set -g message-fg "colour250"
set -g message-command-bg "colour235"
set -g status-attr "none"
set -g status-utf8 "on"
set -g pane-border-fg "colour235"
set -g status-left-attr "none"
setw -g window-status-fg "colour250"
setw -g window-status-attr "none"
setw -g window-status-activity-bg "colour237"
setw -g window-status-activity-attr "none"
setw -g window-status-activity-fg "colour65"
setw -g window-status-separator ""
setw -g window-status-bg "colour237"
set -g status-left "#[fg=colour193,bg=colour65] #S #[fg=colour65,bg=colour237,nobold,nounderscore,noitalics]"
set -g status-right "#[fg=colour235,bg=colour237,nobold,nounderscore,noitalics]#[fg=colour250,bg=colour235] %Y-%m-%d  %H:%M #[fg=colour65,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour193,bg=colour65] #h "
setw -g window-status-format "#[fg=colour250,bg=colour237] #I #[fg=colour250,bg=colour237] #W "
setw -g window-status-current-format "#[fg=colour237,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour250,bg=colour235] #I #[fg=colour250,bg=colour235] #W #[fg=colour235,bg=colour237,nobold,nounderscore,noitalics]"

@michaelmior
Copy link
Author

Strangely enough after disabling the plugin and sourcing the file manually, the issue goes away.

@bruno-
Copy link
Member

bruno- commented Aug 3, 2015

Thank you for investigating.
I also tried sourcing the above file in tmux.conf and had no issues with any of the options.

I looked into tmuxline and vim-airline you linked. I can't pinpoint the problem though..

So, you're saying that not running tmuxline and just manually sourcing the file that styles tmux fixes the issue?
If that's the case, maybe we should open an issue for tmuxline.vim?

@michaelmior
Copy link
Author

@bruno- Yeah, opening an issue with tmuxline may be a good idea. It's possible that I haven't captured everything that it's doing since this was just from a quick glance.

@michaelmior
Copy link
Author

Thanks for opening that issue @bruno- !

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

No branches or pull requests

3 participants