Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777327 - possible incorrect behavior in various terminals
Summary: possible incorrect behavior in various terminals
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-19 21:25 UTC by Mark I Manning IV
Modified: 2021-03-19 21:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark I Manning IV 2021-03-19 21:25:55 UTC
Technically this is not a gentoo bug but I have no idea how to categorize it properly.  It may not even be considered a bug upstream either but IMHO this is incorrect behavior.

if you have a double wide character displayed somewhere on your terminal such as '我' and then write some single width character over the top of it the double wide character will be pushed half a character to the right (space inserted).  

I believe a correct behavior would be for the single wide character to overlay and obscure one or other side of the double wide character.

right you you end up with "x我" when the x is written to the same cell as the other character.

I have observed this behavior with xterm, gnome-terminal and KDEs konsole.
Comment 1 Mark I Manning IV 2021-03-19 21:42:38 UTC
correction this seems to be an artifact of the code i was using to display the characters, this seems to not be a bug at all... please disregard!
my bad :)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-19 21:43:54 UTC
(In reply to Mark I Manning IV from comment #1)
> correction this seems to be an artifact of the code i was using to display
> the characters, this seems to not be a bug at all... please disregard!
> my bad :)

No problem! :)