reset marks on screen change

This commit is contained in:
chrys87 2016-08-23 10:28:18 +02:00 committed by GitHub
parent f2627a2c85
commit 89d7706539

View File

@ -4,11 +4,10 @@ class command():
def __init__(self):
pass
def run(self, environment):
if environment['screenData']['newTTY'] == environment['screenData']['oldTTY']:
return environment
environment['screenData']['newTTY'] = None
environment['screenData']['newTTY'] = None
environment['commandBuffer']['clipboardMark']['1'] = None
environment['commandBuffer']['clipboardMark']['2'] = None
return environment
def setCallback(self, callback):
pass