make paste work again

This commit is contained in:
Chrys 2019-09-07 17:28:08 +02:00
parent 7736559e92
commit 8b49ab8914

View File

@ -25,7 +25,11 @@ class command():
if xMove < 5: if xMove < 5:
return return
elif self.env['runtime']['inputManager'].getShortcutType() in ['BYTE']: elif self.env['runtime']['inputManager'].getShortcutType() in ['BYTE']:
if not (self.env['runtime']['byteManager'].getLastByteKey() in [b' ', b'\t']): found = False
for currByte in self.env['runtime']['byteManager'].getLastByteKey():
if currByte == 9:
found = True
if not found:
if xMove < 5: if xMove < 5:
return return
# is there any change? # is there any change?