[Konsole-devel] [Bug 188528] konsole's history adds spaces to end of lines when copying text
Schelte Bron
schelte at wanadoo.nl
Sun Aug 15 12:11:35 UTC 2010
https://bugs.kde.org/show_bug.cgi?id=188528
Schelte Bron <schelte at wanadoo.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schelte at wanadoo.nl
--- Comment #57 from Schelte Bron <schelte wanadoo nl> 2010-08-15 14:11:25 ---
The problem reported for mc also happens when copying from jed and minicom, and
for some lines copied from emacs -nw and vim. The common factor appears to be
the use of colors all the way to the end of the line. This can easily be
confirmed by running the following shell commands in a fresh konsole window:
# tput setf 1
# cat /proc/cpuinfo
When copy/pasting the output, the first n lines (where n is the height of the
konsole window) will be fine as the color doesn't extend to the end of the
line. But new lines that have scrolled in from the bottom have been created
with the blue foreground attribute for the whole line. These lines will get the
additional spaces when copied.
I guess if someone has a prompt that sets the foreground/background color, they
will see this problem "fairly consistently when copying and pasting
anything from a konsole window". Maybe Tristan can confirm/deny something like
this is the case for him?
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list