Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Prompt Redrawn When Resizing Or Deleting Panes In Tmux
- X-seq: zsh-workers 38527
- From: "Nikolay Aleksandrovich Pavlov (ZyX)" <kp-pav@xxxxxxxxx>
- To: "email.box@xxxxxxxxxxx" <email.box@xxxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Prompt Redrawn When Resizing Or Deleting Panes In Tmux
- Date: Fri, 20 May 2016 13:38:36 +0300
- Authentication-results: mxback6h.mail.yandex.net; dkim=pass header.i=@yandex.ru
- 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=
- In-reply-to: <KIAnNmS--3-0@tutanota.de>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <KIAnNmS--3-0@tutanota.de>
20.05.2016, 04:37, "email.box@xxxxxxxxxxx" <email.box@xxxxxxxxxxx>:
> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author