diff --git a/server.py b/server.py index 4d35586..67079fc 100644 --- a/server.py +++ b/server.py @@ -114,6 +114,9 @@ class KeyboardHandler: def printstring(self, s): last_c = '' last_last_c = '' + # send Tab-key, to indicate this is sent by machine, not by human + self.write_report(NULL_CHAR * 2 + chr(0x2b) + NULL_CHAR*5) + self.release_keys() for c in s: if last_last_c == 'ยง': self.change_color(last_c, c)