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

rxvt-unicode & zsh left & right prompts get messed up... #405

Closed
ghost opened this issue May 12, 2016 · 35 comments
Closed

rxvt-unicode & zsh left & right prompts get messed up... #405

ghost opened this issue May 12, 2016 · 35 comments

Comments

@ghost
Copy link

ghost commented May 12, 2016

I'm using 2.2 in Slackware with rxvt-unicode and zsh.

Ive noticed a few things happening that do not occur when only using the terminal on my desktop, this is only happening in tmux.

I use a left & right side prompt and I have shortcut keys set to resize a window to full size and then back to it's original size. When I do this several times the left prompt will appear in the middle of the screen and the right side prompt sometimes will get cut off on the right side.

Below is a screen shot of this;

http://i.imgur.com/6AF8La8.jpg

Also when I have several panes open and then close one, several prompts will appear like this sometime, with the bottom one still working;

 ~ 07:46 pm foo >                     < slack:pts/0:~
 ~ 07:46 pm foo >                     < slack:pts/0:~
 ~ 07:46 pm foo >                     < slack:pts/0:~
@nicm
Copy link
Member

nicm commented May 12, 2016

TERM inside and outside tmux?
On 12 May 2016 6:50 a.m., "Geyup" notifications@github.com wrote:

I'm using 2.2 in Slackware with rxvt-unicode and zsh.

Ive noticed a few things happening that do not occur when only using the
terminal on my desktop, this is only happening in tmux.

I use a left & right side prompt and I have shortcut keys set to resize a
window to full size and then back to it's original size. When I do this
several times the left prompt will appear in the middle of the screen and
the right side prompt sometimes will get cut off on the right side.

Below is a screen shot of this;

http://i.imgur.com/6AF8La8.jpg

Also when I have several panes open and then close one, several prompts
will appear like this sometime, with the bottom one still working;

~ 07:46 pm foo > < slack:pts/0:~
~ 07:46 pm foo > < slack:pts/0:~
~ 07:46 pm foo > < slack:pts/0:~


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#405

@ghost
Copy link
Author

ghost commented May 13, 2016

I open the terminal urxvt then I type tmux.

Then at the prompt, that first screen shot I showed in the first post above, I just hit my windows key and spacebar key a few times fast, that I use to resize a window, and the terminal/tmux and looked like that. So the terminal prompt gets messed up if I resize...

Now I created a few panes;

http://i.imgur.com/mptt0HE.jpg

Then I closed one and now you can see the multiple prompts it created;

http://i.imgur.com/w73RxOt.jpg

Of those 4 prompts, the bottom one does work...

@nicm
Copy link
Member

nicm commented May 13, 2016

Right, but this is just restating the problem. What is TERM set to
inside and outside tmux? Do this:

echo $TERM

Both before you attach tmux and after you attach tmux.

On Thu, May 12, 2016 at 09:37:32PM -0700, Geyup wrote:

I open the terminal urxvt then I type tmux.

Then at the prompt, that first screen shot I showed in the first post
above, I just hit my windows key and spacebar key a few times fast, that I
use to resize a window with the terminal/tmux and it looked like that.

Now I created a few panes;

[1]http://i.imgur.com/mptt0HE.jpg

Then I closed one and now you can see the multiple it created;

[2]http://i.imgur.com/w73RxOt.jpg

--
You are receiving this because you commented.
Reply to this email directly or [3]view it on GitHub

Reverse link: [4]unknown

References

Visible links

  1. http://i.imgur.com/mptt0HE.jpg
  2. http://i.imgur.com/w73RxOt.jpg
  3. rxvt-unicode & zsh left & right prompts get messed up... #405 (comment)
  4. rxvt-unicode & zsh left & right prompts get messed up... #405 (comment)

@ghost
Copy link
Author

ghost commented May 13, 2016

Before running tmux; echo $TERM rxvt-unicode-256color

Running tmux; echo $TERM screen

So if I'm running rxvt-unicode as my terminal, then at the prompt type tmux why does it say screen?

@ghost
Copy link
Author

ghost commented May 13, 2016

Is this correct for me to add to the .tmux.conf?

set -g default-terminal "rxvt-unicode-256color"

After placing that option in the config, when I close a pane, I'm not seeing the multiple prompts being created, maybe this fixed it.

But if I resize the the window with my shortcut keys it's still messing up the prompts, like the first screen shot in the first post...

I also noticed something else, when I created one pane look at this screen shot below and notice the 2 prompts on the left;

http://i.imgur.com/sjioDuT.jpg

Now I close the pane and see how it changes, this is how the prompt first looks when I change cd /var/log this no longer appears and the middle of the screen shows the right side prompt in it, which also doesn't appear in the first screen shot above.

http://i.imgur.com/oIy73Ut.jpg

So things are still shifting around, and this is the first I've noticed that a command I typed before, when created a new pane disappears.... hmm

@nicm
Copy link
Member

nicm commented May 13, 2016 via email

@ghost
Copy link
Author

ghost commented May 13, 2016

ahh ok, I'll remove that option out of the config.

Please look up at my last reply, I was editing it over, some other issues too...

thanks

@nicm
Copy link
Member

nicm commented May 14, 2016

There is no such thing as right-justify in terminals, when you close a pane, a prompt that was at column 20 will stay at column 20 even if the terminal is now 50 columns wide, unless the shell redraws it and most shells will only redraw the current line.

@ghost
Copy link
Author

ghost commented May 15, 2016

right-justify, a prompt on the right side?

@nicm
Copy link
Member

nicm commented May 15, 2016

It is only a prompt on the right side while the shell is redrawing it on
the right, which it only does for the current line. Once it is not the
current line, it is just some text at say column 80 and tmux will do what
it thinks best to keep it visible if you resize the terminal.
On 15 May 2016 3:17 a.m., "Geyup" notifications@github.com wrote:

right-justify, a prompt on the right side?


You are receiving this because you commented.

Reply to this email directly or view it on GitHub
#405 (comment)

@ghost
Copy link
Author

ghost commented May 15, 2016

Ok...

Well this right side prompt is driving me crazy, so I figured I'll get rid of it and only have everything on the left and problems all solved! But NOPE I'm still getting bloody multipile prompts appearing again... :(

Here's a screen shot with 3 panes open and just a left side prompt;

http://i.imgur.com/dTbJ48q.jpg

Now I noticed if I do something in each pane, and then close one I was only getting one extra prompt to appear, but to my SURPRISE when I left all the panes/sections empty and closed one, I had a massive amount of prompts being duplicated. See the screen shot below;

http://i.imgur.com/DhpaD9o.jpg

I just don't get what's bloody going on here... arghhh :(

Does it help for you to see the .Xdefault settings I have for rxvt-unicdoe, and the .zshrc for the shell?

@nicm
Copy link
Member

nicm commented May 15, 2016

Is it showing multiple prompts after you resize or when you first create a
new window?
On 15 May 2016 7:34 a.m., "Geyup" notifications@github.com wrote:

Ok...

Well this right side prompt is driving me crazy, so I figured I'll get rid
of it and only have everything on the left and problems all solved! But
NOPE I'm still getting bloody multipile prompts appearing again... :(

Here's a screen shot with 3 panes open and just a left side prompt;

http://i.imgur.com/dTbJ48q.jpg

Now I noticed if I do something in each pane, and then close one I was
only getting one extra prompt to appear, but to my SURPRISE when I left
all the panes/sections empty and closed on, I had a massive amount of
prompts being duplicated. See the screen shot below;

http://i.imgur.com/DhpaD9o.jpg

I just don't get what's bloody going on here... arghhh :(


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#405 (comment)

@ghost
Copy link
Author

ghost commented May 15, 2016

I didn't resize it, just left it all max size when I was creating and killing panes.

I've also been running it max size over a few times, trying to recreate the massive amount of prompts, but now it's only creating one extra, not sure what caused it to create so many...

hmm

@ghost
Copy link
Author

ghost commented May 15, 2016

I just resized it and it got all screwed up;

http://i.imgur.com/2cMvF40.jpg

So having the right side prompt is not the issue...

hmm

@nicm
Copy link
Member

nicm commented May 15, 2016

Are you sure these prompts weren't in the history? Had you typed anything
at all in these panes?
On 15 May 2016 7:58 a.m., "Geyup" notifications@github.com wrote:

I just resized it and it got all screwed up;

http://i.imgur.com/2cMvF40.jpg

So having the right side prompt is not the issue...

hmm


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#405 (comment)

@ghost
Copy link
Author

ghost commented May 15, 2016

No I was always opening the term for the first time, and some times I typed something at the panes, and at other times I typed nothing...

According to man urxvtc, you can run it like the below script as a dameon, so even though you close the terminal, the dameon is still running always in the background, so no matter how many times you restart a new terminal it only runs under one process...

#!/bin/sh
urxvtc "$@"
if [ $? -eq 2 ]; then
urxvtd -q -o -f
urxvtc "$@"
fi

I was thinking maybe this dameon way of running it was the problem, so I just ran only urxtv from inside xterm to start urxtv, so that it was certainly running only one time and I still see the same problems when resizing and killing panes.... :(

@ghost
Copy link
Author

ghost commented May 16, 2016

All along I use to think this was some rxvt-unicode issue, from some things I was seeing in it before, compared to xterm.

I just tried xterm with the left prompt only and I'm getting the same results, multipile prompts being created.

This seems to be some issue with zsh and tmux?

hmm

@ghost
Copy link
Author

ghost commented May 16, 2016

I just changed my shells to bash and I don't get any of these problems...

Hmm there is something going on with zsh and tmux...

Here's my .zshrc config;

http://dpaste.com/00ZEJTV

@nicm
Copy link
Member

nicm commented May 17, 2016

I don't know anything about zsh.

@ghost
Copy link
Author

ghost commented May 17, 2016

Are you a developer, or the developer of tmux?

@ntnn
Copy link

ntnn commented May 22, 2016

Geyup, I just tried to replicate the issue with your zshrc and it worked
fine - with zsh 5.2 and both with tmux 2.1 and 2.2 running in urxvt
v9.22.

So the issue here doesn't lie with tmux but either with your zsh, your
emulator, your ncurses or you have a misconfigured system.

@ghost
Copy link
Author

ghost commented May 25, 2016

I wouldn't actually say misconfigured because I have a differnet version of zsh 5.0.2, so maybe there's been something fixed that was a bug in this version.

This could also be related to something going on in X, and I use Nvidia, so something might be effecting this with nividia drivers and transparency in rxvt-unicode.

I can replicate this problem on my desktop if I use fake transparency in rxvt-unicode, but if I use true transparency there isn't this problem. So that makes me wonder why it then happens like this.

I also read online about this redraw of multi prompts in zsh as an issue that has been dated back to 2009, so not sure.

I've made some slight changes to my .zshrc, so maybe someone can look them over to see if they see any errors...

http://dpaste.com/0RH0VKD

@ghost
Copy link
Author

ghost commented May 25, 2016

If I remove everything from .zshrc and only leave this one prompt option;

PROMPT="%F{3} ~%F{4} %D{%I}%F{7}:%F{4}%D{%M}%F{6} %D{%P} %F{2}%n%f >"

Then when I run tmux and resize it with my shortcut keys I only get one additional prompt to appear, and then when I close/kill panes in tmux, I also only get one additional prompt.

From what I read this is suppose to be normal behaviour, as the window changes, zsh redraws, this is my understanding to see it just once like this.

Seeing more then one additional, I believe there is something in my .zshrc causing this, but if I should not see any additional prompts created, I'm not sure then...

I also left both prompts as the only options in the .zshrc and I see the problems again.

PROMPT="%F{3} ~%F{4} %D{%I}%F{7}:%F{4}%D{%M}%F{6} %D{%P} %F{2}%n%f >"
RPROMPT="%F{7}< %F{4}%M:%F{6}%y:%F{3}%~%f"

Again, so I'm clear here, there was only these 2 prompts options in the .zshrc, nothing else, and I see the problems, so then what could be wrong with these prompt options?

Hmm

@ntnn
Copy link

ntnn commented May 25, 2016

Try replacing your colour escapes with ones from the zsh color module: autoload -U colors && colors, more info on that in zshcontrib(1).

@ghost
Copy link
Author

ghost commented May 26, 2016

For the color escapes you mean like this?

PROMPT="%F{yellow} ~%F{blue} %D{%I}%F{white}:%F{blue}%D{%M}%F{blue} %D{%P} %F{green}%n%f >"
RPROMPT="%F{white}< %F{blue}%M:%F{blue}%y:%F{yellow}%~%f"

If this is what you mean by the colors, it's not working...

I don't think this is any mistake I've made. zsh comes with it's own prompt themes which are listed for me under;

/usr/share/zsh/5.2/functions

These are just two of them as example on my box with zsh 5.2;

/usr/share/zsh/5.2/functions/prompt_zefram_setup
/usr/share/zsh/5.2/functions/prompt_adam2_setup

Even if I strip everything out of the .zshrc and only leave in these settings,

autoload -Uz promptinit
autoload -U colors && colors
promptinit
prompt adam2

I still see the redraw of one additional prompt if I resize tmux or close a pane, looking like below as example;

foo@host
foo@host

If I had this same problem on the desktop, then it would seem clearer to me that this is my settings wrong, only happening in tmux seems to be an upstream bug...

@foxundermoon
Copy link

foxundermoon commented May 27, 2016

i'm also meet the same bug.

xterm-256color this is outside the tmux
screen-256color this is inside the tmux
2.1.4 iTerm2 version
2.1 tmux version
mac mini osx 10.11.4 os version
oh my zsh 5.2 zsh version
image

@Geyup did you locate the problem?

@ghost
Copy link
Author

ghost commented May 27, 2016

@foxundermoon I'm not 100% sure, but it certainly seems like a bug with tmux, because I do not see the problem on the desktop, only in tmux...

@ntnn can you please paste your .zshrc? Since you said you did not have this problem I'd like to try yours and see what happens.

@foxundermoon
Copy link

@ntnn
this is my .zshrc
i'm just use the newest version oh-my-zsh

# Path to your oh-my-zsh installation.
export ZSH=/Users/fox/.oh-my-zsh

# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#ZSH_THEME="robbyrussell"
ZSH_THEME="agnoster"
# ZSH_THEME="powerline"

POWERLINE_NO_BLANK_LINE="true"
# POWERLINE_RIGHT_A_COLOR_BACK="yellow"
# POWERLINE_RIGHT_A_COLOR_FRONT="red"
# POWERLINE_RIGHT_B="hello"
# POWERLINE_RIGHT_A="none"
# POWERLINE_DISABLE_RPROMPT="true"
# POWERLINE_SHOW_GIT_ON_RIGHT="true"


# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git autojump incr history go docker gradle gulp node npm osx adb brew)

# User configuration

PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
# export MANPATH="/usr/local/man:$MANPATH"
JAVA_HOME=`/usr/libexec/java_home`
export JAVA_HOME
GRADLE_HOME="/usr/local/Cellar/gradle/2.13"
export GRADLE_HOME
ANDROID_HOME="/users/fox/dev/android/sdk"
export ANDROID_HOME

export PATH
export GOPATH="/Users/fox/dev/go"
export EDITOR='vim'

export NVM_DIR="$HOME/.nvm"
PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH:$GOPATH/bin
source $ZSH/oh-my-zsh.sh



PS1="$PS1"'$([ -n "$TMUX" ] && tmux setenv TMUXPWD_$(tmux display -p "#D" | tr -d %) "$PWD")'
# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
 if [[ -n $SSH_CONNECTION ]]; then
   export EDITOR='vim'
 else
   export EDITOR='vim' #mvim
 fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
#  
launchctl setenv PATH "$PATH"
launchctl setenv ANDROID_HOME "$ANDROID_HOME"
launchctl setenv JAVA_HOME "$JAVA_HOME"
launchctl setenv NODE_PATH "$NODE_PATH"
launchctl setenv GRADLE_HOME "$GRADLE_HOME"

@foxundermoon
Copy link

foxundermoon commented Jun 3, 2016

all about of tmux config

   ~ la |grep tmux                                                            
drwxr-xr-x     6 fox  staff   204B Apr  6 17:41 .tmux
-rw-r--r--     1 fox  staff   6.1K Apr 25 11:08 .tmux-powerlinerc
lrwxr-xr-x     1 fox  staff    16B Apr  6 18:05 .tmux.conf -> .tmux/.tmux.conf
-rw-r--r--     1 fox  staff   4.0K Apr 25 11:02 .tmux.conf.local

and this is my .tmux.conf.local

# (‑●‑●)> released under the WTFPL v2 license, by Gregory Pakosz (@gpakosz)

# use the powerline patched font variant of the theme, possible values are:
#   - default
#   - powerline
# tmux_conf_theme=default
tmux_conf_theme=powerline

# display an indicator in the status line when the prefix key has been pressed,
# possible values are:
#   - enabled
#   - disabled
#tmux_conf_theme_prefix=disabled
tmux_conf_theme_prefix=enabled

# display the battery information in the status line, possible values are:
#   - enabled
#   - disabled
tmux_conf_theme_battery=enabled
#tmux_conf_theme_battery=disabled

# style to use for the battery status, possible values are:
#   - bar
#   - percentage
tmux_conf_battery_style=bar
#tmux_conf_battery_style=percentage

# symbols to use for battery status, possible values are:
#   - block
#   - heart
tmux_conf_battery_symbol=block
#tmux_conf_battery_symbol=heart

# number of symbols to use for battery status
tmux_conf_battery_symbol_count=auto
#tmux_conf_battery_symbol_count=5

# palette used for the battery status, possible values are:
#   - 'colour_full_fg,colour_empty_fg,colour_bg'
#   - heat
#   - gradient
tmux_conf_battery_palette='#d70000,#e4e4e4,#000000'
#tmux_conf_battery_palette=colour160,colour254,colour16
#tmux_conf_battery_palette=heat
#tmux_conf_battery_palette=gradient

# display the battery status: charging (U+26A1) / discharging (U+1F50B)
tmux_conf_battery_status=enabled
#tmux_conf_battery_status=disabled

# or alternatively use an external tool, e.g. https://github.com/Goles/Battery
#tmux_conf_battery='#(battery -t) '

# display the time in the status line, possible values are:
#   - enabled
#   - disabled
tmux_conf_theme_time=enabled
#tmux_conf_theme_time=disabled

# display the date in the status line, possible values are:
#   - enabled
#   - disabled
tmux_conf_theme_date=enabled
#tmux_conf_theme_date=disabled

# display the username in the status line, possible values are:
#   - enabled
#   - disabled
#   - ssh
tmux_conf_theme_username=enabled
#tmux_conf_theme_username=disabled
#tmux_conf_theme_username=ssh

# display the hostname in the status line, possible values are:
#   - enabled
#   - disabled
#   - ssh
tmux_conf_theme_hostname=enabled
#tmux_conf_theme_hostname=disabled
#tmux_conf_theme_hostname=ssh

# highlight focuse pane, possible values are:
#   - enabled
#   - disabled
tmux_conf_theme_highlight_focused_pane=disabled
#tmux_conf_theme_highlight_focused_pane=enabled

# should new windows retain current path, possible values are:
#   - true
#   - false
tmux_conf_new_windows_retain_current_path=false
#tmux_conf_new_windows_retain_current_path=true

# should new panes reatin current path, possible values are:
#   - true
#   - false
tmux_conf_new_panes_retain_current_path=true
#tmux_conf_new_panes_retain_current_path=false

# prompt for session name when creating a new session, possible values are:
#   - true
#   - false
tmux_conf_new_session_prompt=false
#tmux_conf_new_session_prompt=true

# if you're running tmux within iTerm2
#   - and tmux is 1.9 or 1.9a
#   - and iTerm2 is configured to let option key act as +Esc
#   - and iTerm2 is configured to send [1;9A -> [1;9D for option + arrow keys
# then uncomment the following line to make Meta + arrow keys mapping work
#set -g terminal-overrides "*:kUP3=\e[1;9A,*:kDN3=\e[1;9B,*:kRIT3=\e[1;9C,*:kLFT3=\e[1;9D"


# ------------------------------------------------------------------------------
# this is the place to further customize tmux's configuration

#set -g history-limit 10000
set -g history-limit 10000
set-option -g status on
set-option -g status-interval 2
set-option -g status-utf8 on
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
set-option -g status-left "#(~/dev/shell/tmux-powerline/powerline.sh left)"
set-option -g status-right "#(~/dev/shell/tmux-powerline/powerline.sh right)"



set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]⮀#[fg=colour255, bg=colour27] #I ⮁ #W #[fg=colour27, bg=colour235]⮀"

@ntnn
Copy link

ntnn commented Jun 3, 2016

Ah ye sorry, forgot about this thread.

My zshrc is here:
https://ntnn.de/plain/.zshrc

@ntnn
Copy link

ntnn commented Jun 3, 2016

@foxundermoon Did you try it without omz and powerline, both and
separately? Omz is notorious for bad quality and powerline isn't exactly
a masterpiece of engineering either - additionally errors happen all the
time.

@foxundermoon
Copy link

foxundermoon commented Jun 3, 2016

when i turn off the .tmux.conf.local

 fox@foxMac  ~  la |grep tmux
drwxr-xr-x     6 fox  staff   204B Apr  6 17:41 .tmux
-rw-r--r--     1 fox  staff   6.1K Apr 25 11:08 .tmux-powerlinerc
lrwxr-xr-x     1 fox  staff    16B Apr  6 18:05 .tmux.conf -> .tmux/.tmux.conf
-rw-r--r--     1 fox  staff   4.0K Apr 25 11:02 .tmux.conf.local.off

so this issus not appear again
I'm use the default theme it also fine.
it seems the tmux-powerline theme issue

@ghost
Copy link
Author

ghost commented Jun 3, 2016

@ntnn thanks, but it doesn't matter, I can place one line for only a prompt in the .zshrc and it still makes several prompts.

There's a bug in tmux, and I give up for now...

@nicm nicm closed this as completed Jun 15, 2016
@amerlyq
Copy link

amerlyq commented Jan 2, 2017

Seems like most of aforementioned problems are related to #516.
There are some nice clarification what actually occurs with prompt.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants