[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] miscalculation with wrapped prompt line
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] miscalculation with wrapped prompt line |
Date: |
Sun, 13 Dec 2015 20:10:16 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
On 12/10/15 2:00 PM, Per Bothner wrote:
> Consider a long bash prompt, with a dummy escape sequence:
> PS1=ABCDEFGHIJKLMNOPGRSTUVWXYZ"[\#]"ABCDEFGHIJKLMNOPGRSTUVWXYZ:"\[\e[0m\]"
>
> Now create a terminal emulator window (xterm works); make it narrow
> (say 50 characters); type Enter (to get a fresh bash prompt).
> Now type ctrl-R. I see:
>
> (reverse-i-search)`': RSTU
Thanks for the report. This will be fixed in the next version of readline.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/