fix some stuff
This commit is contained in:
		| @@ -4,8 +4,11 @@ class command(): | ||||
|     def __init__(self): | ||||
|         pass | ||||
|     def run(self, environment): | ||||
|         if environment['screenData']['newDelta'] != environment['screenData']['oldDelta']: | ||||
|             environment['runtime']['outputManager'].interruptOutput(environment) | ||||
|         if environment['screenData']['newCursor'] == environment['screenData']['oldCursor'] and\ | ||||
|           environment['screenData']['newDelta'] == environment['screenData']['oldDelta']: | ||||
|             return environment | ||||
|         environment['runtime']['outputManager'].interruptOutput(environment) | ||||
|         print('10000-shut_up.py') | ||||
|         return environment | ||||
|     def setCallback(self, callback): | ||||
|         pass | ||||
|   | ||||
| @@ -1,18 +0,0 @@ | ||||
| #!/bin/python | ||||
|  | ||||
| class command(): | ||||
|     def __init__(self): | ||||
|         pass | ||||
|     def run(self, environment): | ||||
|         return environment | ||||
|         if environment['screenData']['newCursor'] != environment['screenData']['oldCursor']: | ||||
|             print(environment['screenData']['newCursor'] != environment['screenData']['oldCursor']) | ||||
|             return environment | ||||
|         if environment['screenData']['newDelta'] != environment['screenData']['oldDelta'] or \ | ||||
|           environment['screenData']['newTTY'] != environment['screenData']['oldTTY']: | ||||
|             environment['runtime']['outputManager'].presentText(environment, environment['screenData']['newDelta'], Interrupt=False) | ||||
|         return environment | ||||
|     def setCallback(self, callback): | ||||
|         pass | ||||
|     def shutdown(self): | ||||
|         pass | ||||
| @@ -1,18 +0,0 @@ | ||||
| #!/bin/python | ||||
|  | ||||
| class command(): | ||||
|     def __init__(self): | ||||
|         pass | ||||
|     def run(self, environment): | ||||
|         if environment['screenData']['newCursor']['x'] == environment['screenData']['oldCursor']['x'] or\ | ||||
|           environment['screenData']['newCursor']['y'] != environment['screenData']['oldCursor']['y']: | ||||
|             return environment | ||||
|         if environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']][environment['screenData']['newCursor']['x']].replace(" ","").replace("\n","").replace("\t","") == '': | ||||
|             environment['runtime']['outputManager'].speakText(environment, "blank") | ||||
|         else: | ||||
|             environment['runtime']['outputManager'].speakText(environment, environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']][environment['screenData']['newCursor']['x']]) | ||||
|         return environment     | ||||
|     def setCallback(self, callback): | ||||
|         pass | ||||
|     def shutdown(self): | ||||
|         pass | ||||
| @@ -1,17 +0,0 @@ | ||||
| #!/bin/python | ||||
|  | ||||
| class command(): | ||||
|     def __init__(self): | ||||
|         pass | ||||
|     def run(self, environment): | ||||
|         if environment['screenData']['newCursor']['y'] == environment['screenData']['oldCursor']['y']: | ||||
|             return environment | ||||
|         if environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']].replace(" ","").replace("\n","").replace("\t","") == '': | ||||
|             environment['runtime']['outputManager'].speakText(environment, "blank") | ||||
|         else: | ||||
|             environment['runtime']['outputManager'].speakText(environment, environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']]) | ||||
|         return environment     | ||||
|     def setCallback(self, callback): | ||||
|         pass | ||||
|     def shutdown(self): | ||||
|         pass | ||||
		Reference in New Issue
	
	Block a user