Bug 31098

Summary: ANSI rendering buglet
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: xtermAssignee: Fr. Br. George <george>
Status: ASSIGNED --- QA Contact: qa-sisyphus
Severity: minor    
Priority: P3 CC: george, glebfm
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
the output with ANSI sequences none

Description Michael Shigorin 2015-06-24 20:38:33 MSK
Created attachment 6309 [details]
the output with ANSI sequences

$ fgrep test *
apt.conf.p7.i586+test:Dir::Etc::sourcelist "/home/mike/apt/sources.list.p7.i586test";
$ tail -1 apt.conf.p7.i586+test
Dir::Etc::sourcelist "/home/mike/apt/sources.list.p7.i586+test";
$ set | grep -a ^GREP
GREP_COLOR='1;32'
GREP_OPTIONS='--color=auto'
$ _

The "+" between "i586" and "test" disappears exactly when the line is wrapped around 80th column where the first "t" of "test" sits (with "est" on the next line):

apt.conf.p7.i586+test:Dir::Etc::sourcelist "/home/mike/apt/sources.list.p7.i586t
est";

If this very terminal window is resized by e.g. one column wider/narrower then the bug is not observed; cat(1)ting the attached example might help see this.
Comment 1 Fr. Br. George 2016-03-09 11:57:53 MSK
В самом деле. Получается, что при выводе ESC-последовательности в последней позиции autowrap отключается, или какой-то off by one. Жалко, ошибка не приоритетная, интересно было бы поразбираться.