Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15694 > unrolled thread
| Started by | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| First post | 2019-12-03 14:21 -0800 |
| Last post | 2019-12-03 14:21 -0800 |
| 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.
Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue Chet Ramey <chet.ramey@case.edu> - 2019-12-03 14:21 -0800
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Date | 2019-12-03 14:21 -0800 |
| Subject | Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue |
| Message-ID | <mailman.216.1575411746.1979.bug-bash@gnu.org> |
On 12/3/19 1:43 PM, Алексей Шилин wrote: > PS1='\[\e]0;тестоваястрока\a\]test prompt\$ ' This is really the problem: the invisible multibyte characters in the prompt are not correctly counted in all cases and throw off the cursor positioning calculations. That problem is worse when the prompt completely changes, like it does when cleaning up from an incremental search, since we don't have enough state about the prompt that's visible (in this case, the reverse-i-search prompt). The fix is the same as the previous problem, though there are a couple of other things to fix up. Chet -- ``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/
Back to top | Article view | gnu.bash.bug
csiph-web