zsh-workers
 help / color / mirror / code / Atom feed
From: <email.box@tutanota.de>
To: Zsh Workers <zsh-workers@zsh.org>
Subject: Re: Prompt Redrawn When Resizing Or Deleting Panes In Tmux
Date: Sat, 21 May 2016 04:29:59 +0100 (BST)	[thread overview]
Message-ID: <KIGMBG1--3-0@tutanota.de> (raw)
In-Reply-To: <3387551463740716@web1h.yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]

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.

      reply	other threads:[~2016-05-21  3:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-20  1:36 email.box
2016-05-20 10:28 ` Vincent Lefevre
2016-05-21  3:29   ` email.box
2016-05-20 10:38 ` Nikolay Aleksandrovich Pavlov (ZyX)
2016-05-21  3:29   ` email.box [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=KIGMBG1--3-0@tutanota.de \
    --to=email.box@tutanota.de \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).