fix typo
This commit is contained in:
parent
39b29e7d41
commit
1748c28ecf
@ -14,7 +14,6 @@ class command():
|
|||||||
environment['runtime']['outputManager'].speakText(environment, "empty line")
|
environment['runtime']['outputManager'].speakText(environment, "empty line")
|
||||||
else:
|
else:
|
||||||
environment['runtime']['outputManager'].speakText(environment, environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursorReview']['y']])
|
environment['runtime']['outputManager'].speakText(environment, environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursorReview']['y']])
|
||||||
print(environment['screenData']['newCursorReview'])
|
|
||||||
return environment
|
return environment
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -31,7 +31,6 @@ class commandManager():
|
|||||||
return environment
|
return environment
|
||||||
|
|
||||||
def executeCommand(self, environment, currCommand, section = 'commands'):
|
def executeCommand(self, environment, currCommand, section = 'commands'):
|
||||||
environment = environment['commands'][section][currCommand].run(environment)
|
|
||||||
if self.isCommandDefined(environment):
|
if self.isCommandDefined(environment):
|
||||||
try:
|
try:
|
||||||
environ = environment['commands'][section][currCommand].run(environment)
|
environ = environment['commands'][section][currCommand].run(environment)
|
||||||
|
@ -33,7 +33,9 @@ class fenrir():
|
|||||||
self.environment = self.environment['runtime']['commandManager'].getCommandForShortcut(self.environment)
|
self.environment = self.environment['runtime']['commandManager'].getCommandForShortcut(self.environment)
|
||||||
self.environment = self.environment['runtime']['screenDriver'].analyzeScreen(self.environment)
|
self.environment = self.environment['runtime']['screenDriver'].analyzeScreen(self.environment)
|
||||||
self.environment = self.environment['runtime']['commandManager'].executeTriggerCommands(self.environment, 'onInput')
|
self.environment = self.environment['runtime']['commandManager'].executeTriggerCommands(self.environment, 'onInput')
|
||||||
if self.environment['input']['currShortcutString'] != '':
|
if self.environment['commandInfo']['currCommand'] != '':
|
||||||
|
self.environment['input']['currShortcut'] = {}
|
||||||
|
self.environment['input']['currShortcutString'] = ''
|
||||||
self.handleCommands()
|
self.handleCommands()
|
||||||
self.environment['runtime']['globalLock'].release()
|
self.environment['runtime']['globalLock'].release()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user