mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-12 10:47:05 +02:00
Utility method to truncate formatted lines to specified width
This commit is contained in:
@@ -80,7 +80,7 @@ class DiffHandler(Handler):
|
||||
else:
|
||||
text = self.diff_lines[lpos].text
|
||||
self.write(text)
|
||||
self.write('\n\r')
|
||||
self.write('\x1b[0m\n\r')
|
||||
|
||||
def on_key(self, key_event):
|
||||
if self.state is INITIALIZING:
|
||||
|
||||
Reference in New Issue
Block a user