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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT
	autolearn=no autolearn_force=no version=3.4.1
Date: Fri, 20 May 2016 12:28:48 +0200
From: Vincent Lefevre <vincent@vinc17.net>
To: zsh-workers@zsh.org
Cc: email.box@tutanota.de
Subject: Re: Prompt Redrawn When Resizing Or Deleting Panes In Tmux
Message-ID: <20160520102848.GA4726@cventin.lip.ens-lyon.fr>
Mail-Followup-To: zsh-workers@zsh.org, email.box@tutanota.de
References: <KIAnNmS--3-0@tutanota.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <KIAnNmS--3-0@tutanota.de>
X-Mailer-Info: https://www.vinc17.net/mutt/
User-Agent: Mutt/1.6.0-6619-vl-r87826 (2016-04-11)
X-Seq: zsh-workers 38526

[Note: I'm not a zsh developer.]

On 2016-05-20 02:36:54 +0100, email.box@tutanota.de wrote:
> 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

When you close panes, other panes (windows) are resized, so that
a prompt redraw is expected. However, it's strange the new prompt
doesn't appear in place, but on the next line.

Do you get the same problem outside tmux when resizing the terminal?
If no, the problem seems to come from tmux.

Also try the same tests with:

  zsh -f
  RPS1=.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

