2016-08-23 10:26:13 +02:00
|
|
|
#!/bin/python
|
|
|
|
|
|
|
|
class command():
|
|
|
|
def __init__(self):
|
|
|
|
pass
|
2016-09-02 21:37:36 +02:00
|
|
|
def initialize(self, environment):
|
|
|
|
return environment
|
|
|
|
def shutdown(self, environment):
|
|
|
|
return environment
|
|
|
|
def getDescription(self):
|
|
|
|
return ''
|
2016-08-23 10:26:13 +02:00
|
|
|
def run(self, environment):
|
|
|
|
if environment['screenData']['newTTY'] == environment['screenData']['oldTTY']:
|
|
|
|
return environment
|
2016-08-23 17:44:45 +02:00
|
|
|
environment['commandBuffer']['Marks']['1'] = None
|
|
|
|
environment['commandBuffer']['Marks']['2'] = None
|
2016-08-25 10:38:25 +02:00
|
|
|
environment['commandBuffer']['Marks']['3'] = None
|
2016-08-23 10:26:13 +02:00
|
|
|
return environment
|
|
|
|
def setCallback(self, callback):
|
|
|
|
pass
|
2016-09-02 21:37:36 +02:00
|
|
|
|