[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
readline 8.2-alpha: erratic display with long prompt with invisible char
From: |
Andreas Schwab |
Subject: |
readline 8.2-alpha: erratic display with long prompt with invisible characters |
Date: |
Mon, 28 Feb 2022 20:51:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
With
PS1="\[$(tput bold)\]\h:\w/:[\$?]\\\$\[$(tput sgr0)$(tput cnorm)\] "
if \w expands to such a long string so that the right margin is exactly
before the final space in the prompt (ie. the second line starts with
that space), display becomes erratic: the display of the input line is
shifted to the right by a few spaces on the second line, with the cursor
stuck on the left margin. Note that when the final space is removed
from the prompt the display works fine. This is a regression from
readline 8.1.
--
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."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- readline 8.2-alpha: erratic display with long prompt with invisible characters,
Andreas Schwab <=