add running to runntime
This commit is contained in:
parent
26c827ecfa
commit
af17f409ec
@ -9,6 +9,7 @@ import textwrap
|
|||||||
import speech.es as es
|
import speech.es as es
|
||||||
|
|
||||||
runtime = {
|
runtime = {
|
||||||
|
'running':True,
|
||||||
'columns': 0,
|
'columns': 0,
|
||||||
'lines': 0,
|
'lines': 0,
|
||||||
'screenDriver': '/dev/vcsa3',
|
'screenDriver': '/dev/vcsa3',
|
||||||
@ -25,7 +26,7 @@ runtime = {
|
|||||||
'speechDriver': es.speech()
|
'speechDriver': es.speech()
|
||||||
}
|
}
|
||||||
|
|
||||||
while(True):
|
while(runtime['running']):
|
||||||
# read screen
|
# read screen
|
||||||
vcsa = open(runtime['screenDriver'],'rb')
|
vcsa = open(runtime['screenDriver'],'rb')
|
||||||
runtime['newContentBytes'] = vcsa.read()
|
runtime['newContentBytes'] = vcsa.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user