bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Line is corrupted when pasting long string in vi mode with exit_attr


From: Jack Pearson
Subject: Re: Line is corrupted when pasting long string in vi mode with exit_attribute_mode prompt
Date: Sat, 18 Dec 2021 09:15:35 -0800

Ahh my bad, didn't read that section of the manual carefully enough. Thanks 
Andreas!

Jack

On December 18, 2021 8:03:17 AM PST, Andreas Schwab <schwab@linux-m68k.org> 
wrote:
>On Dez 17 2021, Jack Pearson wrote:
>
>>   PS1='$(tput sgr0)' # emit exit_attribute_mode capability string
>
>Non-printable characters in the prompt must be bracketed by \[ \].
>
>PS1='\[$(tput sgr0)\]'
>
>-- 
>Andreas Schwab, schwab@linux-m68k.org
>GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
>"And now for something completely different."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]