mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-12 03:29:10 +02:00
line_as_ansi: don't reset SGR at start of line
less does not carry the mode over from the previous line anyway, let's save a few bytes for every line
This commit is contained in:
@@ -441,4 +441,4 @@ class TestScreen(BaseTest):
|
||||
return ''.join(d)
|
||||
|
||||
self.ae(as_text(), 'ababababab\nc\n\n')
|
||||
self.ae(as_text(True), '\x1b[0mababa\x1b[0mbabab\n\x1b[0mc\n\n')
|
||||
self.ae(as_text(True), 'ababababab\nc\n\n')
|
||||
|
||||
Reference in New Issue
Block a user