<table><tr><td style="">mglb created this revision.<br />mglb added a reviewer: Konsole.<br />mglb requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12238">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Libc's wcwidth(), while not perfect, is used by most programs.<br />
Implementation compatibility is necessary to avoid problems with string<br />
width calculation and proper cursor movement.</p>
<p>BUG: 378124<br />
BUG: 392171<br />
BUG: 339439</p>
<p>Depends on <a href="https://phabricator.kde.org/D12236" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D12236</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Vertical lines below should align</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Code Ch Source bug
U+26A1 |⚡| 378124
U+2615 |☕| 392171
U+26EA |⛪| 392171
U+1D11E |𝄞 | 339439</pre></div></div></div><br /><div><strong>BRANCH</strong><div><div>wip/Use-libcs-wcwidth-instead-of-own-function</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12238">https://phabricator.kde.org/D12238</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>COPYING.Unicode<br />
src/CMakeLists.txt<br />
src/Character.h<br />
src/Filter.cpp<br />
src/Screen.cpp<br />
src/TerminalCharacterDecoder.cpp<br />
src/TerminalDisplay.cpp<br />
src/autotests/CharacterWidthTest.cpp<br />
src/autotests/CharacterWidthTest.h<br />
src/konsole_wcwidth.cpp<br />
src/konsole_wcwidth.h</div></div></div><br /><div><strong>To: </strong>mglb, Konsole<br /><strong>Cc: </strong>Konsole<br /></div>