Giter Club home page Giter Club logo

Comments (10)

jbnicolai avatar jbnicolai commented on July 16, 2024

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

from tpm.

bruno- avatar bruno- commented on July 16, 2024

Any updates on this?

from tpm.

bruno- avatar bruno- commented on July 16, 2024

Closing this because there's no followup.

from tpm.

michaelmior avatar michaelmior commented on July 16, 2024

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

from tpm.

bruno- avatar bruno- commented on July 16, 2024

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

from tpm.

michaelmior avatar michaelmior commented on July 16, 2024

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]"

from tpm.

michaelmior avatar michaelmior commented on July 16, 2024

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

from tpm.

bruno- avatar bruno- commented on July 16, 2024

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?

from tpm.

michaelmior avatar michaelmior commented on July 16, 2024

@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.

from tpm.

michaelmior avatar michaelmior commented on July 16, 2024

Thanks for opening that issue @bruno- !

from tpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.