[konsole] [Bug 464823] Soft hyphens are incorrectly displayed as normal spaces

Kurt Hindenburg bugzilla_noreply at kde.org
Fri Feb 24 01:03:30 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=464823

--- Comment #4 from Kurt Hindenburg <khindenburg at kde.org> ---
Git commit feb44c226fc6ca8e57f37a189442474e63383688 by Kurt Hindenburg, on
behalf of Matan Ziv-Av.
Committed on 24/02/2023 at 00:46.
Pushed by hindenburg into branch 'master'.

Make behaviour of characters with problematic width configurable

Add a profile option to follow Unicode standard for the display width of
characters, where this width differs from glibc's wcwidth.

Currently the only character affected by this is soft hyphen (unicode 0x00ad).

Konsole generally follows wcwidth() function when determining the display
width of characters, since this is behaviour expected by libreadline, and
doing otherwise corrupts lines containing problematic characters. When such
characters are used more for display, then on the command line, following
the Unicode standard may be prefferable.

The default for this option is disabled - that is follow wcwidth().

M  +6    -0    doc/manual/index.docbook
M  +8    -2    src/Screen.cpp
M  +4    -0    src/Screen.h
M  +1    -0    src/profile/Profile.cpp
M  +4    -0    src/profile/Profile.h
M  +3    -1    src/session/SessionManager.cpp
M  +1    -0    src/terminalDisplay/TerminalDisplay.cpp
M  +16   -0    src/widgets/EditProfileAppearancePage.ui
M  +8    -0    src/widgets/EditProfileDialog.cpp
M  +1    -0    src/widgets/EditProfileDialog.h

https://invent.kde.org/utilities/konsole/commit/feb44c226fc6ca8e57f37a189442474e63383688

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list