add keyecho to tutorial mode

This commit is contained in:
chrys
2019-03-03 20:57:58 +01:00
parent 49c9645b8a
commit da8e28540e
4 changed files with 60 additions and 23 deletions

View File

@ -0,0 +1,23 @@
#!/bin/python
# -*- coding: utf-8 -*-
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
from fenrirscreenreader.core import debug
class command():
def __init__(self):
pass
def initialize(self, environment):
self.env = environment
def shutdown(self):
pass
def getDescription(self):
return 'No description found'
def run(self):
if self.env['runtime']['helpManager'].isTutorialMode():
self.env['runtime']['inputManager'].keyEcho(event)
def setCallback(self, callback):
pass