From 89d7706539853889120e94be539fa1fef78b505f Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 23 Aug 2016 10:28:18 +0200 Subject: [PATCH] reset marks on screen change --- .../85000-screen_chnage_reset_clipboard_marks | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fenrir-package/commands/onScreenChanged/85000-screen_chnage_reset_clipboard_marks b/src/fenrir-package/commands/onScreenChanged/85000-screen_chnage_reset_clipboard_marks index 90005343..248976f0 100644 --- a/src/fenrir-package/commands/onScreenChanged/85000-screen_chnage_reset_clipboard_marks +++ b/src/fenrir-package/commands/onScreenChanged/85000-screen_chnage_reset_clipboard_marks @@ -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