<table><tr><td style="">arthurk created this revision.<br />arthurk added reviewers: Konsole, VDG.<br />Herald added a project: Konsole.<br />Herald added a subscriber: konsole-devel.<br />arthurk 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/D27202">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Current version of Konsole allows to select the custom color of the cursor (Settings -> Edit Current Profile -> Appearance -> Cursor -> Custom cursor color). This works well for I-Beam and Underline cursor shapes. But for block-shaped cursors the text under the cursor is often hard to read, e.g. bright text under the bright cursor or dark text under the dark cursor.</p>
<p>This patch adds an ability to select the custom color of the character under the cursor. The character uses this color only when the cursor shape is Block and Konsole window is focused. Otherwise the character uses its foreground color as usual.</p>
<p>FEATURE: 407915<br />
FIXED-IN: 20.04</p>
<p>Before:<br />
<a href="https://phabricator.kde.org/F8089013" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F8089013: konsole_before.png</a></p>
<p>After:<br />
<a href="https://phabricator.kde.org/F8089014" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F8089014: konsole_after.png</a></p>
<p>Settings window before:<br />
<a href="https://phabricator.kde.org/F8089017" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F8089017: options_before.png</a></p>
<p>Settings window after:<br />
<a href="https://phabricator.kde.org/F8089018" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F8089018: options_after.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27202">https://phabricator.kde.org/D27202</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/EditProfileAppearancePage.ui<br />
src/EditProfileDialog.cpp<br />
src/EditProfileDialog.h<br />
src/Profile.cpp<br />
src/Profile.h<br />
src/TerminalDisplay.cpp<br />
src/TerminalDisplay.h<br />
src/autotests/ProfileTest.cpp</div></div></div><br /><div><strong>To: </strong>arthurk, Konsole, VDG<br /><strong>Cc: </strong>konsole-devel, cent, EspadaV8, fbampaloukas, thsurrel, ngraham, maximilianocuria, hindenburg<br /></div>