Also transmit key events when broadcasting

This commit is contained in:
Kovid Goyal
2020-12-01 14:11:50 +05:30
parent 457c292d3c
commit 34db18ea0a
4 changed files with 55 additions and 6 deletions

View File

@@ -302,7 +302,7 @@ class Loop:
def _on_apc(self, apc: str) -> None:
if apc.startswith('K'):
try:
k = decode_key_event(apc)
k = decode_key_event(apc[1:])
except Exception:
pass
else: