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,FREEMAIL_FROM,
	T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1463740716;
	bh=n/83PkhPG15rAFOJzQIK0m+MmyC1NWdjxzLan1nWBqQ=;
	h=X-Yandex-Sender-Uid:X-Yandex-Hint:X-Yandex-Hint:From:To:
	 In-Reply-To:References:Subject:MIME-Version:Message-Id:X-Mailer:
	 Date:Content-Transfer-Encoding:Content-Type;
	b=A9LZq+6TkHVPtRsDh9RwZXzbY7MsWaTNw8fuztcQKgOxkRK4N5Y5H+K30WONQrDtv
	 nmFLIsQzuX4o8O040wLeegxolE/wJXH2lx6MjbzNjSkntIiHcyBRO28+JygthbtRuI
	 RczdRqoqFJS7oCpbrLizFsrqY2gs4KG10uPYiq8o=
Authentication-Results: mxback6h.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-ForeignMX:  DE
X-Yandex-Suid-Status: 1 0,1 0,1 20735984
X-Yandex-Sender-Uid: 9151298
From: "Nikolay Aleksandrovich Pavlov (ZyX)" <kp-pav@yandex.ru>
To: "email.box@tutanota.de" <email.box@tutanota.de>,
	"zsh-workers@zsh.org" <zsh-workers@zsh.org>
In-Reply-To: <KIAnNmS--3-0@tutanota.de>
References: <KIAnNmS--3-0@tutanota.de>
Subject: Re: Prompt Redrawn When Resizing Or Deleting Panes In Tmux
MIME-Version: 1.0
Message-Id: <3387551463740716@web1h.yandex.ru>
X-Mailer: Yamail [ http://yandex.ru ] 5.0
Date: Fri, 20 May 2016 13:38:36 +0300
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-Seq: zsh-workers 38527

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.

