roycearoni / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

ansi background color goes over the tail of the next line #413

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
if the line is wrapped in the middle of a highlighted word
then background "flows down" to the end of the next line
see screenshot attached

test command
perl -e '$x="1234567890"; $xBg="\e[41m$x\e[0m"; print "\n\n---ok---\n$x $x $xBg 
$x $x $x"; print "\n\n---bug---\n$x $x $x $x $xBg $x\n\n"'

winxp
cygwin
mintty 1.1.3

Original issue reported on code.google.com by bdim...@gmail.com on 26 Nov 2013 at 3:39

Attachments:

GoogleCodeExporter commented 8 years ago
update: the bug appears only when a scrollbar appears

Original comment by bdim...@gmail.com on 10 Dec 2013 at 12:37

Attachments:

GoogleCodeExporter commented 8 years ago
and also I've found that background on multiple lines looks different depending 
on scrollbar

Original comment by bdim...@gmail.com on 10 Dec 2013 at 1:50

Attachments:

GoogleCodeExporter commented 8 years ago
Many other terminals exhibit the same effect, including xterm, rxvt-unicode, 
gnome-terminal.
Not necessarily an excuse, but a common point against wrapping and scrolling 
character attributes - applications should avoid that.

Original comment by towom...@googlemail.com on 16 Feb 2015 at 3:53

GoogleCodeExporter commented 8 years ago
See https://github.com/mintty/mintty/issues for further progress on this issue.

Original comment by towom...@googlemail.com on 7 Aug 2015 at 1:24