Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE
	autolearn=ham autolearn_force=no version=3.4.1
Date: Sat, 21 May 2016 04:29:59 +0100 (BST)
From:  <email.box@tutanota.de>
To: Zsh Workers <zsh-workers@zsh.org>
Message-ID: <KIGMBG1--3-0@tutanota.de>
In-Reply-To: <3387551463740716@web1h.yandex.ru>
References: <KIAnNmS--3-0@tutanota.de> <<KIAnNmS--3-0@tutanota.de>> <3387551463740716@web1h.yandex.ru>
Subject: Re: Prompt Redrawn When Resizing Or Deleting Panes In Tmux
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_5056_618016232.1463801399018"
X-Seq: zsh-workers 38530

------=_Part_5056_618016232.1463801399018
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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



20. May 2016 10:38 by kp-pav@yandex.ru:


> 20.05.2016, 04:37, "> email.box@tutanota.de> " <> email.box@tutanota.de> >:
>> Hello,
>>
>> I'm not sure if this is a bug, or because the way tmux works, zsh is
>> redrawing itself on the screen, therefore creating addition prompts.
>>
>> Please see this bug report for all the things I've been running into with
>> tmux;
>>
>> https://github.com/tmux/tmux/issues/405
>>
>> thanks
>
> It must redraw itself on screen when resizing at least because otherwise it 
> will have no idea about where user cursor actually is (which means 
> redrawing with the same problems while typing something or throwing visual 
> artifacts at user), not to mention that right prompts will be positioned 
> wrongly after resize and some prompts (e.g. powerline) may want to 
> shrink/expand themselves when given additional space. What you see though 
> is rather strange, so I would ask what is there in your PS1 and RPS1.
------=_Part_5056_618016232.1463801399018--

