[konsole] [Bug 408660] Konsole's cursor becomes colorized by colorized print output
Egmont Koblinger
bugzilla_noreply at kde.org
Sat Jun 15 09:16:29 BST 2019
https://bugs.kde.org/show_bug.cgi?id=408660
Egmont Koblinger <egmont at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egmont at gmail.com
--- Comment #1 from Egmont Koblinger <egmont at gmail.com> ---
This only happens if you've already reached the bottom of the screen.
It's a side effect of the nightmare called "bce" (see e.g.
https://bugzilla.gnome.org/show_bug.cgi?id=754596). The entire newly appearing
line at the bottom needs to take the _current_ background color according to
this badly designed feature. In Konsole it does not only take the background
but also the foreground. The cursor is displayed by swapping these two colors
of the cell, that is, revealing the foreground color of the empty cell. That's
why you see blue cursor instead of gray.
On a side note, in VTE (gnome-terminal and friends) the current foreground is
applied to the newly appearing line only if there's also a nondefault
background color to apply. This is probably a bug rather than deliberate design
choice, although I'm not sure.
Not sure what Konsole could do here. Not spreading the foreground color could
be a technically more correct behavior, although potentially lead to less
visible cursor in many cases. I think it's more likely that the _current_
foreground is easy to distinguish from the _current_ background, rather than
that the *default* foreground is easy to distinguinsh from the _current_
background.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list