Update linux.py
This commit is contained in:
parent
f15ec2e7cc
commit
408bb1e44f
@ -11,13 +11,10 @@ from core import debug
|
|||||||
class driver():
|
class driver():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.vcsaDevicePath = '/dev/vcsa'
|
self.vcsaDevicePath = '/dev/vcsa'
|
||||||
|
|
||||||
def initialize(self, environment):
|
def initialize(self, environment):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def insert_newlines(self, string, every=64):
|
def insert_newlines(self, string, every=64):
|
||||||
return '\n'.join(string[i:i+every] for i in range(0, len(string), every))
|
return '\n'.join(string[i:i+every] for i in range(0, len(string), every))
|
||||||
|
|
||||||
@ -115,6 +112,7 @@ def getCurrApplication(self, screen):
|
|||||||
environment['screenData']['oldCursor']['y'] = 0
|
environment['screenData']['oldCursor']['y'] = 0
|
||||||
environment['screenData']['oldDelta'] = ''
|
environment['screenData']['oldDelta'] = ''
|
||||||
environment['screenData']['oldNegativeDelta'] = ''
|
environment['screenData']['oldNegativeDelta'] = ''
|
||||||
|
environment['screenData']['oldApplication'] = ''
|
||||||
# always clear current deltas
|
# always clear current deltas
|
||||||
environment['screenData']['newNegativeDelta'] = ''
|
environment['screenData']['newNegativeDelta'] = ''
|
||||||
environment['screenData']['newDelta'] = ''
|
environment['screenData']['newDelta'] = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user