Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Hitting Ctrl-c during correction messes up formating
- X-seq: zsh-workers 36863
- From: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: Hitting Ctrl-c during correction messes up formating
- Date: Thu, 15 Oct 2015 10:20:17 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=simple; d=mail.ud10.udmedia.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=beta; bh=7U/le8OQ9OZmEI8q3Mfx+gXR5v JIhWVOWSa+aAN+tv8=; b=EyJkgge7qQm8USaQWdh1vkL790+NiO7jd4WEeDCepe mJHY9/FqPK2lbaQVKoKSZwWdW/kPe+aJOrpAoBaQjtb1Ok6beouvPQ21nZUd7bKU uPeGEXcVd1bi/oJWpBW20y3HtS30mXE3Bb37Ykbp44jSz2672HS4Zt/1bEQfM7G1 k=
- In-reply-to: <CAHYJk3St-b+dA=YZAtfz8vScw=9VBx4Svmkyn2Xbis72GKLEjg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20151015071148.GA414@x4> <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@xxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author