zsh-workers
 help / color / mirror / code / Atom feed
From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: Hitting Ctrl-c during correction messes up formating
Date: Thu, 15 Oct 2015 10:20:17 +0200	[thread overview]
Message-ID: <20151015082017.GB414@x4> (raw)
In-Reply-To: <CAHYJk3St-b+dA=YZAtfz8vScw=9VBx4Svmkyn2Xbis72GKLEjg@mail.gmail.com>

On 2015.10.15 at 09:56 +0200, Mikael Magnusson wrote:
> On Thu, Oct 15, 2015 at 9:11 AM, Markus Trippelsdorf
> <markus@trippelsdorf.de> wrote:
> > This is a cosmetic issue. Say your current directory is /usr/src/linux
> > and your prompt is set up to display it on the right hand side.
> > If you hit Ctrl-c during a correction you end up in this state:
> >
> > markus@x4 linux % la
> > zsh: correct 'la' to 'lz' [nyae]? markus@x4 linux %                  <widths of terminal>              /
> > usr/src/linux
> >
> > With the cursor blinking on the 'u' of "usr/src/linux" on the second
> > line. Hitting Ctrl-c once more "fixes" the issue.
> 
> If you don't setopt nopromptcr, you shouldn't have this problem.

Many thanks.

-- 
Markus


      reply	other threads:[~2015-10-15  8:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15  7:11 Markus Trippelsdorf
2015-10-15  7:56 ` Mikael Magnusson
2015-10-15  8:20   ` Markus Trippelsdorf [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=20151015082017.GB414@x4 \
    --to=markus@trippelsdorf.de \
    --cc=mikachu@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).