search command in right section
This commit is contained in:
parent
dd84da9849
commit
ff8df58334
@ -101,10 +101,17 @@ class fenrirManager():
|
|||||||
return
|
return
|
||||||
command = event['Data']
|
command = event['Data']
|
||||||
|
|
||||||
|
# special modes
|
||||||
if self.environment['runtime']['helpManager'].isTutorialMode():
|
if self.environment['runtime']['helpManager'].isTutorialMode():
|
||||||
if self.environment['runtime']['commandManager'].commandExists( command, 'help'):
|
if self.environment['runtime']['commandManager'].commandExists( command, 'help'):
|
||||||
self.environment['runtime']['commandManager'].executeCommand( command, 'help')
|
self.environment['runtime']['commandManager'].executeCommand( command, 'help')
|
||||||
return
|
return
|
||||||
|
elif self.environment['runtime']['vmenuManager'].getActive():
|
||||||
|
if self.environment['runtime']['commandManager'].commandExists( command, 'vmenu-navigation'):
|
||||||
|
self.environment['runtime']['commandManager'].executeCommand( command, 'vmenu-navigation')
|
||||||
|
return
|
||||||
|
|
||||||
|
# default
|
||||||
self.environment['runtime']['commandManager'].executeCommand( command, 'commands')
|
self.environment['runtime']['commandManager'].executeCommand( command, 'commands')
|
||||||
def handleRemoteIncomming(self, event):
|
def handleRemoteIncomming(self, event):
|
||||||
if not event['Data']:
|
if not event['Data']:
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
# By Chrys, Storm Dragon, and contributers.
|
# By Chrys, Storm Dragon, and contributers.
|
||||||
|
|
||||||
from fenrirscreenreader.core import debug
|
from fenrirscreenreader.core import debug
|
||||||
|
from fenrirscreenreader.utils import module_utils
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user