mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Dont send on_text events with empty text
This commit is contained in:
@@ -235,7 +235,7 @@ class Loop:
|
|||||||
self.handler.on_eot()
|
self.handler.on_eot()
|
||||||
else:
|
else:
|
||||||
self.handler.on_text(chunk, self.in_bracketed_paste)
|
self.handler.on_text(chunk, self.in_bracketed_paste)
|
||||||
else:
|
elif chunk:
|
||||||
self.handler.on_text(chunk, self.in_bracketed_paste)
|
self.handler.on_text(chunk, self.in_bracketed_paste)
|
||||||
|
|
||||||
def _on_dcs(self, dcs):
|
def _on_dcs(self, dcs):
|
||||||
|
|||||||
Reference in New Issue
Block a user