Title: Outputs % / percent sign after every command in some panes · Issue #365 · tmux-python/tmuxp · GitHub
Open Graph Title: Outputs % / percent sign after every command in some panes · Issue #365 · tmux-python/tmuxp
X Title: Outputs % / percent sign after every command in some panes · Issue #365 · tmux-python/tmuxp
Description: Just installed and playing around with a configuration. Running in gnome terminal with zsh and tmux. This is the configuration of the 1st window where issue appears: session_name: OMG start_directory: /home/pj windows: - focus: 'true' la...
Open Graph Description: Just installed and playing around with a configuration. Running in gnome terminal with zsh and tmux. This is the configuration of the 1st window where issue appears: session_name: OMG start_directo...
X Description: Just installed and playing around with a configuration. Running in gnome terminal with zsh and tmux. This is the configuration of the 1st window where issue appears: session_name: OMG start_directo...
Opengraph URL: https://github.com/tmux-python/tmuxp/issues/365
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Outputs % / percent sign after every command in some panes","articleBody":"Just installed and playing around with a configuration. Running in gnome terminal with zsh and tmux.\r\nThis is the configuration of the 1st window where issue appears:\r\n```yaml\r\nsession_name: OMG\r\nstart_directory: /home/pj\r\nwindows:\r\n- focus: 'true'\r\n layout: 814f,190x48,0,0{95x48,0,0,0,94x48,96,0[94x24,96,0,1,94x23,96,25,2]}\r\n options:\r\n automatic-rename: 'off'\r\n monitor-activity: 'off'\r\n remain-on-exit: 'on'\r\n panes:\r\n - focus: 'true'\r\n shell_command:\r\n - l.\r\n - screenfetch\r\n - fortune | cowsay\r\n window_name: TERM\r\n```\r\n\r\nThe issue is, when starting tmux session with \"tmuxp load OMG\" the 1st and 2nd pane display \"%\" after each issues command. Happens when the session is loaded with \"l.\" and \"screenfetch\" and for every command issues afterward.\r\nStrangely the 3rd pane issuing shell_command: \"fortune | cowsay\" doesn't display \"%\" after the command, nor after any next command.\r\n\r\nThis doesn't occur ever if I start tmux manually in any pane or any window. It is possible to kill the troublesome panes and create new splits and the issue is gone. But that nullifies tmuxp's benefits if I have to remake whole 1st window everytime I open this session.\r\n\r\nAny ideas why this would occur?\r\n\r\nExample is displayed in this _https://s14.postimg.org/ul2tnsu75/tmuxp_Issue_Screenshot_from_2018-03-13_19-28-23.png_.\r\n\r\nInformation about my system:\r\nPython version:\r\n`python --version \r\nPython 2.7.13`\r\n`python3 --version \r\nPython 3.5.3` (installed using pip3)\r\nsystem PATH:\r\n`echo $PATH \r\n/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin/:/home/pj/bin/:/home/pj/Applications/cava/:/home/pj/.local/bin/:/sbin/:/home/pj/bin/:/home/pj/Applications/c\r\nava/:/home/pj/.local/bin/` (after seeing this I realized my /etc/zsh/zshenv gets sourced twice? This is the troubling line: `export PATH=$PATH:/sbin/:$HOME/bin/:$HOME/Applications/cava/:$HOME/.local/bin/`, but I don't think this is causing my issue.\r\ntmux version:\r\n`tmux -V\r\ntmux 2.3`\r\ntmuxp version:\r\n`tmuxp --version\r\ntmuxp 1.4.0`\r\ntmux path:\r\n`which tmux\r\ntmux: aliased to _zsh_tmux_plugin_run`\r\ntmuxp path:\r\n`/home/pj/.local/bin//tmuxp` (I have no idea what's wrong with \"//\" here. tmuxp executable is located in the `/home/pj/.local/bin/` directory)\r\nlibtmux version:\r\ncan't find libtmux. \r\nshell:\r\n`chsh\r\nLogin Shell [/usr/bin/zsh]:`\r\noutput of tmux list-sessions:\r\n`tls\r\nOMG: 5 windows (created Tue Mar 13 19:48:30 2018) [171x42] (attached)\r\nXXX: 5 windows (created Tue Mar 13 19:24:28 2018) [171x42]` (XXX is the manually fixed version I keep running with resurrect and continuum tmp plugins)\r\ntmux list-windows:\r\n```\r\n`tmux list-windows\r\n1: TERM*M (3 panes) [171x42] [layout 5742,171x42,0,0{85x42,0,0,38,85x42,86,0[85x21,86,0,39,85x20,86,22,40]}] @19 (active)\r\n2: SYS (2 panes) [171x42] [layout 987f,171x42,0,0{112x42,0,0,41,58x42,113,0,42}] @20\r\n3: CMUS (2 panes) [171x42] [layout 9882,171x42,0,0{112x42,0,0,43,58x42,113,0,44}] @21\r\n4: WMON (2 panes) [171x42] [layout 9885,171x42,0,0{112x42,0,0,45,58x42,113,0,46}] @22\r\n5: MC- (2 panes) [171x42] [layout 9888,171x42,0,0{112x42,0,0,47,58x42,113,0,48}] @23\r\n```\r\n\r\ntmux list-panes:\r\n\r\n```\r\ntmux list-panes \r\n1: [85x42] [history 1/20000, 43 bytes] %38\r\n2: [85x21] [history 4/20000, 460 bytes] %39\r\n3: [85x20] [history 2/20000, 146 bytes] %40 (active)\r\n```\r\noutput of tmux show-options -g:\r\n\r\n```\r\ntmux show-options -g \r\n@batt_remain_short \"true\" \r\n@continuum-boot \"on\" \r\n@continuum-restore \"on\" \r\n@continuum-save-last-timestamp \"1520967267\" \r\n@plugin \"tmux-plugins/tmux-battery\" \r\n@resurrect-restore-script-path \"/home/pj/.tmux/plugins/tmux-resurrect/scripts/restore.sh\" \r\n@resurrect-save-script-path \"/home/pj/.tmux/plugins/tmux-resurrect/scripts/save.sh\" \r\n@resurrect-strategy-irb \"default_strategy\" \r\nassume-paste-time 1 \r\nbase-index 1 \r\nbell-action none \r\nbell-on-alert off \r\ndefault-command \"\" \r\ndefault-shell \"/usr/bin/zsh\" \r\ndestroy-unattached off \r\ndetach-on-destroy on \r\ndisplay-panes-active-colour blue\r\ndisplay-panes-colour brightred\r\ndisplay-panes-time 1000\r\ndisplay-time 750\r\nhistory-limit 20000\r\nkey-table \"root\"\r\nlock-after-time 1800\r\nlock-command \"lock -np\"\r\nmessage-command-style fg=yellow,bg=black\r\nmessage-style fg=brightred,bg=black\r\nmouse on\r\nprefix C-b\r\nprefix2 C-a\r\nrenumber-windows on\r\nrepeat-time 220\r\nset-remain-on-exit on\r\nset-titles on\r\nset-titles-string \"#T - #W\"\r\nstatus on\r\nstatus-interval 2\r\nstatus-justify left\r\nstatus-keys vi\r\nstatus-left \"#{?client_prefix,#[fg=colour254]#[bg=colour31]#[bold]#[noitalics]#[nounderscore],#[fg=colour16]#[bg=colour254]#[bold]#[noitalics]#[nounderscore]} #S #{?client_prefix,#[fg=colour31],#[fg=colour254]}#[bg=colour233]#[nobold] #(env $POWERLINE_COMMAND $POWERLINE_COMMAND_ARGS tmux left --width=`tmux display -p '#{client_width}'` -Rwidth_adjust=`tmux show-options -g stat\r\nus-right-length | cut -d' ' -f2` -R pane_id=\"`tmux display -p '#D'`\")\"\r\nstatus-left-length 20\r\nstatus-left-style default\r\nstatus-position bottom\r\nstatus-right \"#(/home/pj/.tmux/plugins/tmux-continuum/scripts/continuum_save.sh)#(env \"$POWERLINE_COMMAND\" $POWERLINE_COMMAND_ARGS tmux right -R pane_id=\"`tmux display -p\"#D\"`\" --width=`tmux\r\n display -p \"#{client_width}\"` -R width_adjust=`tmux show-options -g status-left-length | cut -d\" \" -f 2`)#(/home/pj/.tmux/plugins/tmux-cpu/scripts/cpu_bg_color.sh) CPU:#(/home/pj/.tmux/plug\r\nins/tmux-cpu/scripts/cpu_percentage.sh) #(/home/pj/.tmux/plugins/tmux-battery/scripts/battery_status_bg.sh) #(/home/pj/.tmux/plugins/tmux-battery/scripts/battery_icon.sh)#(/home/pj/.tmux/plu\r\ngins/tmux-battery/scripts/battery_percentage.sh)\"\r\nstatus-right-length 150\r\nstatus-right-style default\r\nstatus-style fg=yellow,bg=black\r\nupdate-environment \"DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY\"\r\nvisual-activity on\r\nvisual-bell off\r\nvisual-silence off\r\nword-separators \" -_@\"\r\n```\r\n\r\ntmux show-window-options -g:\r\n```\r\ntmux show-window-options -g\r\naggressive-resize on\r\nallow-rename on\r\nalternate-screen on\r\nautomatic-rename off\r\nautomatic-rename-format \"#{?pane_in_mode,[tmux],#{pane_current_command}}#{?pane_dead,[dead],}\"\r\nclock-mode-colour green\r\nclock-mode-style 24\r\nforce-height 0\r\nforce-width 0\r\nmain-pane-height 24\r\nmain-pane-width 80\r\nmode-keys vi\r\nmode-style fg=black,bg=yellow\r\nmonitor-activity on\r\nmonitor-silence 0\r\nother-pane-height 0\r\nother-pane-width 0\r\npane-active-border-style fg=brightgreen\r\npane-base-index 1\r\npane-border-format \"#{?pane_active,#[reverse],}#{pane_index}#[default] \"#{pane_title}\"\"\r\npane-border-status off\r\npane-border-style fg=black\r\nremain-on-exit on\r\nsynchronize-panes off\r\nwindow-active-style default\r\nwindow-style default\r\nwindow-status-activity-style fg=colour11,bg=colour233\r\nwindow-status-bell-style fg=black,bg=red\r\nwindow-status-current-format \"#[fg=colour233,bg=colour31,nobold,noitalics,nounderscore] #[fg=colour117,bg=colour31,nobold,noitalics,nounderscore]#I#F #[fg=colour231,bg=colour31,bold,noitalics,nounderscore]#W #[fg=colour31,bg=colour233,nobold,noitalics,nounderscore] \"\r\nwindow-status-current-style fg=brightred\r\nwindow-status-format \"#[fg=colour244,bg=colour233,nobold,noitalics,nounderscore] #I#F #[fg=colour240,bg=colour233,nobold,noitalics,nounderscore] #[default]#W \"\r\nwindow-status-last-style fg=colour31,bg=colour233\r\nwindow-status-separator \" \"\r\nwindow-status-style fg=brightblue\r\nwrap-search on\r\nxterm-keys on\r\n```\r\n\r\n```\r\nuname -a\r\nLinux debian 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64 GNU/Linux\r\ngnome-shell --version\r\nGNOME Shell 3.22.3\r\ngnome-terminal --version\r\nGNOME Terminal 3.22.2 Using VTE version 0.46.1 +GNUTLS\r\nzsh --version\r\nzsh 5.3.1 (x86_64-debian-linux-gnu)\r\n```\r\nWithin tmux: echo $TERM\r\nscreen-256color (it's set in .tmux.conf)\r\nOutside tmux in zsh: xterm-256color\r\n\r\nSorry about this. It's more than I'd wish to paste...\r\n\r\nI assume it's some kind of TERM issue that gets lost within Oh-My-Zsh configuration. But the thing is this \"%\" only apears when I load tmuxp session.\r\n\r\nAny ideas?","author":{"url":"https://github.com/pjrulez","@type":"Person","name":"pjrulez"},"datePublished":"2018-03-13T19:05:51Z","url":"https://github.com/tmux-python/tmuxp/issues/365"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2fe470cd-889a-fe12-84be-0ea8f512d6f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE8A:9114:31DAE1:45B63B:6B006C68 |
| html-safe-nonce | 89a938790b94560b85781d4c90303b5eb33a9731ff99e254c43928df63dd0fb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRThBOjkxMTQ6MzFEQUUxOjQ1QjYzQjo2QjAwNkM2OCIsInZpc2l0b3JfaWQiOiIxOTg1MDk0ODA2MDk4OTYzNTYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 40431b36eb7e84899ecf0df31e6ce2e368a7ad6010959f19a292b86c92450fa5 |
| hovercard-subject-tag | issue:304896986 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/tmux-python/tmuxp/365/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be1bd88a036e27041e4bcc5b098d3c56d34ec0fc01600b36a9ba52aa7da7f233/tmux-python/tmuxp/issues/365 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be1bd88a036e27041e4bcc5b098d3c56d34ec0fc01600b36a9ba52aa7da7f233/tmux-python/tmuxp/issues/365 |
| og:image:alt | Just installed and playing around with a configuration. Running in gnome terminal with zsh and tmux. This is the configuration of the 1st window where issue appears: session_name: OMG start_directo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pjrulez |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-preview |
| go-import | github.com/tmux-python/tmuxp git https://github.com/tmux-python/tmuxp.git |
| octolytics-dimension-user_id | 37234308 |
| octolytics-dimension-user_login | tmux-python |
| octolytics-dimension-repository_id | 12398170 |
| octolytics-dimension-repository_nwo | tmux-python/tmuxp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12398170 |
| octolytics-dimension-repository_network_root_nwo | tmux-python/tmuxp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width