mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-22 20:17:45 +03:00
Dont send on_text events with empty text
This commit is contained in:
parent
5bc8d05f0a
commit
e8f7a2b345
@ -235,7 +235,7 @@ def _on_text(self, text):
|
||||
self.handler.on_eot()
|
||||
else:
|
||||
self.handler.on_text(chunk, self.in_bracketed_paste)
|
||||
else:
|
||||
elif chunk:
|
||||
self.handler.on_text(chunk, self.in_bracketed_paste)
|
||||
|
||||
def _on_dcs(self, dcs):
|
||||
|
Loading…
Reference in New Issue
Block a user