bug-bash
[Top][All Lists]
Advanced

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

Re: Multi-line Prompt/PS1 wrapping oddly


From: Chet Ramey
Subject: Re: Multi-line Prompt/PS1 wrapping oddly
Date: Sun, 14 Jul 2019 15:51:30 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

On 7/12/19 4:40 PM, Tianon Gravi wrote:

> What I've found is that if PS1 contains '\n' and the last line gets
> long enough for the cursor to be on the next line (for example, if \w
> gets too long), then typing will result in a single character being
> printed in the correct place followed by the cursor being moved to the
> next line.

Thanks for the report and the easy reproducer.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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