[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash (all versions) screws up display when a multiply is given
From: |
Greg Wooledge |
Subject: |
Re: bash (all versions) screws up display when a multiply is given |
Date: |
Wed, 4 May 2022 07:23:15 -0400 |
On Wed, May 04, 2022 at 09:11:01AM +0200, n952162 wrote:
> Please disregard that ... there's something there, but I haven't
> distilled it yet.
>
> On 5/4/22 9:06 AM, n952162 wrote:
> > In vi mode
> >
> > if you enter, .e.g. 2f) (put the cursur on the second following
> > occurance of a right paren), it works, I think, "virtually", but the
> > displayed line is all garbled. You can keep editting and create a
> > correct command, but only blindly.
The most likely cause of garbled/moving text in your shell input is
a prompt that has terminal escape sequences (or other non-printing
characters) which are not correctly protected by \[ \] .
https://mywiki.wooledge.org/BashFAQ/053