From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20947 invoked by alias); 15 Oct 2015 07:56:10 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36862 Received: (qmail 7514 invoked from network); 15 Oct 2015 07:56:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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== MIME-Version: 1.0 X-Received: by 10.140.145.145 with SMTP id 139mr10242841qhr.100.1444895766264; Thu, 15 Oct 2015 00:56:06 -0700 (PDT) In-Reply-To: <20151015071148.GA414@x4> References: <20151015071148.GA414@x4> Date: Thu, 15 Oct 2015 09:56:06 +0200 Message-ID: Subject: Re: Hitting Ctrl-c during correction messes up formating From: Mikael Magnusson To: Markus Trippelsdorf Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On Thu, Oct 15, 2015 at 9:11 AM, Markus Trippelsdorf 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 % / > 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