Update 15000-char_echo.py
This commit is contained in:
		| @@ -17,11 +17,12 @@ class command(): | ||||
|         return 'No Description found' | ||||
|  | ||||
|     def run(self): | ||||
|         # enabled? | ||||
|         if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'charEcho'): | ||||
|             return | ||||
|         # big changes are no char (but the value is bigger than one maybe the differ needs longer than you can type, so a little strange random buffer for now) | ||||
|         xMove = abs(self.env['screen']['newCursor']['x'] - self.env['screen']['oldCursor']['x']) | ||||
|         if xMove > 1: | ||||
|             return | ||||
|         if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'charEcho'): | ||||
|         if xMove > 2: | ||||
|             return | ||||
|         # detect deletion or chilling  | ||||
|         if self.env['screen']['newCursor']['x'] <= self.env['screen']['oldCursor']['x']: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user