Add Tab before every message
This commit is contained in:
parent
ce24054458
commit
f904752fbe
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue