Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue

2019-12-03 Thread Chet Ramey
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 comp

Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue

2019-12-03 Thread Алексей Шилин
В Ср, 27/11/2019 в 20:29 -0500, Chet Ramey пишет: > I poked around enough and found the cause. There will be a > fix in the next devel branch push. The first issue with the line not being cleared is indeed fixed. Thanks! The second one with incorrect history entry output position after e.g. End i