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): def __init__(self):
pass pass
def run(self, environment): def run(self, environment):
if environment['screenData']['newTTY'] == environment['screenData']['oldTTY']: if environment['screenData']['newTTY'] == environment['screenData']['oldTTY']:
return environment return environment
environment['screenData']['newTTY'] = None environment['commandBuffer']['clipboardMark']['1'] = None
environment['screenData']['newTTY'] = None environment['commandBuffer']['clipboardMark']['2'] = None
return environment return environment
def setCallback(self, callback): def setCallback(self, callback):
pass pass