fix make second plugin ready
This commit is contained in:
parent
58910fb19e
commit
c0b3c13c44
@ -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
|
||||||
|
@ -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'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user