zsh-workers
 help / color / mirror / code / Atom feed
From: Patrick Oscity <patrick.oscity@gmail.com>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Bug report
Date: Tue, 17 Dec 2013 11:59:32 +0100	[thread overview]
Message-ID: <CAHEp6_VA-uYo=be+S5ekKR4F+fOCTsa0qJZn-SLR3xAuMwSJ_g@mail.gmail.com> (raw)

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

On Dec 15, 18:10,  Bart Schaefer wrote:
> By the way, fiddling with this I discovered that I have one of the
> terminals that scrolls up when anything is written to the bottom right
> corner.  Vanilla "xterm" does this.

In fact, I discovered the same behavior in my terminal (using iTerm2 on
OS X) which somehow defeats the purpose. Another odd behavior I noticed
is that when I set ZLE_RPROMPT_INDENT=0, the first character of any
completion disappears. For example:


$ PS1='$ '
$ RPS1='TEST'
$ ZLE_RPROMPT_INDENT=0                                                     TEST
$ ls                                                                        TEST
 SCOLORS   ls         lsappinfo  lsm        lsvfs
LS_COLORS  lsa        lsbom      lsof


On the last line I entered ls<TAB>. Notice how the first character in the
first line of the suggested completions disappears. As I said, I also
experience the scrolling up by one line.

Since other shells like e.g. FISH handle this correctly in the very same
terminal, maybe there's actually something else broken here? Consider this
session in FISH, where I also typed ls<TAB> on the last input line:


$ function fish_prompt
      echo '$ '
  end
$ function fish_right_prompt                                                TEST
      echo 'TEST'
  end
$ ls                                                                        TEST
ls
lsappinfo  (Control and query CoreApplicationServices about the app state on t…)
lsbom                                              (List contents of a bom file)
lsm                                               (Latent Semantic Mapping tool)
lsof                                                           (List open files)
lsvfs                                          (List known virtual file systems)


It works. If FISH can do it, I believe we can also do it in ZSH, or am I
wrong with this assumption?

             reply	other threads:[~2013-12-17 10:59 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17 10:59 Patrick Oscity [this message]
2013-12-17 11:27 ` Peter Stephenson
2013-12-17 17:11 ` Bart Schaefer
2013-12-17 17:56   ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
2021-03-01  9:43 BUG REPORT ZheNing Hu
2021-03-01 15:27 ` Daniel Shahaf
2021-03-01 17:32 ` Bart Schaefer
2021-03-05  7:51   ` ZheNing Hu
2019-09-19 11:16 Bug report Vladimir Deyter
2019-09-19 14:53 ` Mikael Magnusson
2019-09-19 15:57   ` Daniel Shahaf
2014-12-26 16:53 mvxxc
2014-12-27  2:35 ` Bart Schaefer
2014-09-17  0:26 bug report Mica Chimera
2014-09-17  1:08 ` Frank Terbeck
2014-06-05 17:05 robin terrep-drangiug
2014-06-05 20:48 ` Bart Schaefer
2013-12-14 18:44 Bug report Patrick Oscity
2013-12-14 19:08 ` Bart Schaefer
2013-12-14 20:43   ` Peter Stephenson
2013-12-15  1:15     ` Bart Schaefer
2013-12-15 13:30       ` Peter Stephenson
2013-12-15 17:10         ` Bart Schaefer
2013-12-15  1:08   ` Patrick Oscity
2013-12-15 11:01   ` Patrick Oscity
2013-08-04 12:16 Bug Report Yuusuke Yoshimoto
2013-08-04 17:58 ` Peter Stephenson
1996-05-22  0:07 Bug report Felix von Leitner
1996-05-15  7:48 Martin Birgmeier
1996-05-10  8:30 Martin Birgmeier
1995-08-24 11:23 Bug Report Carsten Friedrich

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='CAHEp6_VA-uYo=be+S5ekKR4F+fOCTsa0qJZn-SLR3xAuMwSJ_g@mail.gmail.com' \
    --to=patrick.oscity@gmail.com \
    --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).