mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 19:01:27 +00:00
don't call screen.in_bracketed_paste_mode, it is a property
This commit is contained in:
parent
07511a5621
commit
df592e83a1
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ class Window:
|
|||
if text and not self.destroyed:
|
||||
if isinstance(text, str):
|
||||
text = text.encode('utf-8')
|
||||
if self.screen.in_bracketed_paste_mode():
|
||||
if self.screen.in_bracketed_paste_mode:
|
||||
text = BRACKETED_PASTE_START.encode('ascii') + text + BRACKETED_PASTE_END.encode('ascii')
|
||||
self.write_to_child(text)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue