Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15166 > unrolled thread

Re: Multi-line Prompt/PS1 wrapping oddly

Started byChet Ramey <chet.ramey@case.edu>
First post2019-07-14 15:51 -0400
Last post2019-07-14 15:51 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Multi-line Prompt/PS1 wrapping oddly Chet Ramey <chet.ramey@case.edu> - 2019-07-14 15:51 -0400

#15166 — Re: Multi-line Prompt/PS1 wrapping oddly

FromChet Ramey <chet.ramey@case.edu>
Date2019-07-14 15:51 -0400
SubjectRe: Multi-line Prompt/PS1 wrapping oddly
Message-ID<mailman.1317.1563133897.2688.bug-bash@gnu.org>
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    chet@case.edu    http://tiswww.cwru.edu/~chet/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web