GNU nano - Bugs: bug #60393, on OpenBSD, private-use code...
You are not allowed to post comments on this tracker with your current authentication level.
bug #60393: on OpenBSD, private-use code points cause cursor misplacement
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Wed 14 Apr 2021 09:46:25 AM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Tue 20 Apr 2021 09:21:52 AM UTC, comment #1: |
Benno Schulenberg <bens> |
Wed 14 Apr 2021 09:46:25 AM UTC, original submission:
To reproduce, run on OpenBSD:
See that the cursor is on the "a" and that in the minibar it says "U+0061". This is correct. Now type <Right> once. The cursor is now on the "b", but in the minibar it says "U+0062|F2892". For some reason U+F2892 is seen as zero-width and thus gets 'combined' with the "b". This is wrong. Now type <Right> once more. The terminal shows the cursor on the U+F2892 character (on my terminal shown as a 'hex block', 0F2/892), but in the minibar it says "U+003A". Nano has skipped the zero-width character and has the internal cursor now positioned on the colon, but for the terminal U+F2892 is not zero-width, so this character sits where nano thinks the colon is. :|
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-04-30 | bens | Open/Closed | Open | Closed | |
2021-04-20 | bens | Severity | 3 - Normal | 2 - Minor | |
Status | None | Fixed | |||
Assigned to | None | bens |
Powered by Savane 3.13-4448.
Corresponding source code
Worked around in git, commit bb819324, by overriding wcwidth() for characters beyond U+0F0000, which are the private-use ones.