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 36862
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
- Subject: Re: Hitting Ctrl-c during correction messes up formating
- Date: Thu, 15 Oct 2015 09:56:06 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ooO3YY+S8NPuID0T1/2v1R8IleH2mfcOvaSwM/juEn8=; b=UmQjY8wlKzj6aKIHwakjGThwOA2bBtXTqQTq0TRahDpHKb6Mf+iZIoAAEy3JvwvojE fZSZiRWqWjzXaTNH4OybPIRX9Ra21UqWAahHDwPMpdJpM2gyckzZZj4K8mOL/IxHn6L9 +mr/iD1D9DfmkCumcevr/5nbMoCm3lEWvjATuFZbu5d9Xw3MAWnheHWj9H9jyfft53xB wFsDb3sRgqUckd/Mb/73lkFPlinSUfTPqZ1nVWlWqWc8laK2i24S27aoV719Ybs/ncYq Lts/SCx0sLdMJDL6N5GjiUOAnfiWHr5I8pTJvZP7OqBpQjPHda14xOGF72RjtNMZJVpF tsew==
- In-reply-to: <20151015071148.GA414@x4>
- 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>
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.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author