non-ASCII characters in PS1 cause cursor to appear in wrong place
Bug #102179 reported by
Peter Berry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: bash
Using the following prompt:
PS1='\[
If the \W (i.e., working directory) contains a non-ASCII character, the cursor is placed 10 places too far to the right. If you then start typing, the cursor moves to the correct position (2 places right of the $) but leaves the first character where you typed it.
Reproduced in xterm, so is not specific to gnome-terminal; and not in python, so is (probably) not a bug in libreadline.
This is Feisty with all updates as of now.
description: | updated |
description: | updated |
Changed in bash: | |
assignee: | hggdh2 → nobody |
To post a comment you must log in.
Thanks for taking the time to report this bug. Could you pleae provide an example for the bug?