fix make second plugin ready

This commit is contained in:
chrys 2016-07-09 01:25:29 +02:00
parent 58910fb19e
commit c0b3c13c44
2 changed files with 1 additions and 3 deletions

View File

@ -8,8 +8,6 @@ class command():
if environment['screenData']['newContentText'].replace(" ","") == '': if environment['screenData']['newContentText'].replace(" ","") == '':
environment['runtime']['speechDriver'].speak("empty screen") environment['runtime']['speechDriver'].speak("empty screen")
else: else:
print(environment['screenData']['newCursor'])
print(environment['screenData']['newContentText'].split('\n'))
environment['runtime']['speechDriver'].speak(environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']]) environment['runtime']['speechDriver'].speak(environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']])
def setCallback(self, callback): def setCallback(self, callback):
pass pass

View File

@ -2,5 +2,5 @@
bindings = { bindings = {
'2-29,1-42':'curr_line', '2-29,1-42':'curr_line',
'1-29':'shut_up', '2-29,1-30':'shut_up'
} }