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

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.

-- 
Mikael Magnusson


  reply	other threads:[~2015-10-15  7:56 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 [this message]
2015-10-15  8:20   ` Markus Trippelsdorf

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='CAHYJk3St-b+dA=YZAtfz8vScw=9VBx4Svmkyn2Xbis72GKLEjg@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=markus@trippelsdorf.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).