From: Aaron Jensen <aaronjensen@gmail.com>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 30544@debbugs.gnu.org
Subject: bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
Date: Wed, 14 Mar 2018 18:33:07 -0700 [thread overview]
Message-ID: <CAHyO48yGqvdV05DW7mHPATyw0zJ+stzLeCgTvvVFAJ36gXEf4g@mail.gmail.com> (raw)
In-Reply-To: <87d106w3k7.fsf@gmail.com>
On Wed, Mar 14, 2018 at 6:06 PM, Noam Postavsky <npostavs@gmail.com> wrote:
> Yes, I did PROMPT=$'one\ntwo' (by the way, I found I had to remove
> 'prompt adam1' from my .zshrc (the default setup puts it in), otherwise
> setting PROMPT has no effect). I can reproduce the problem in term.el,
> but urxvt doesn't have any problems no matter how I resize.
Ah, apparently I can only reproduce it in iterm2 if I have an RPROMPT
that does a lineup and linedown to get the RPROMPT on the first
line...
PROMPT=$'one\ntwo'
local _lineup=$'\e[1A'
local _linedown=$'\e[1B'
RPROMPT='%{${_lineup}%}%*%{${_linedown}%}'
I've also noticed that emacs seems to be doing unnecessary resizing
when switching between perspectives using perspective.el. I haven't
yet looked into what is causing that, but I suspect adding a check
similar to what iterm2 has, where we actually see what the process tty
size is and only set it if it has changed may help that.
next prev parent reply other threads:[~2018-03-15 1:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-20 2:07 bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times) Aaron Jensen
2018-02-20 20:25 ` Glenn Morris
2018-03-14 15:59 ` Aaron Jensen
2018-03-14 17:34 ` Eli Zaretskii
2018-03-14 18:08 ` Aaron Jensen
2018-03-14 18:30 ` Eli Zaretskii
2018-03-14 20:25 ` Aaron Jensen
2018-03-14 23:49 ` Noam Postavsky
2018-03-15 0:54 ` Aaron Jensen
2018-03-15 1:06 ` Noam Postavsky
2018-03-15 1:33 ` Aaron Jensen [this message]
2018-03-15 1:42 ` Noam Postavsky
2018-03-15 2:41 ` Aaron Jensen
2018-04-02 2:39 ` Noam Postavsky
2018-04-02 5:46 ` Eli Zaretskii
2018-04-02 11:04 ` Noam Postavsky
2018-04-02 19:17 ` Aaron Jensen
2018-03-14 18:33 ` Glenn Morris
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHyO48yGqvdV05DW7mHPATyw0zJ+stzLeCgTvvVFAJ36gXEf4g@mail.gmail.com \
--to=aaronjensen@gmail.com \
--cc=30544@debbugs.gnu.org \
--cc=npostavs@gmail.com \
/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.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).