From fc0eec157f652f1e10db4891ed84a17525007a9c Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 18 Oct 2016 15:30:52 +0200 Subject: [PATCH] remove unused command --- .../85000-screen_chnage_reset_marks.py | 3 +-- .../85000-screen_chnage_reset_review.py | 24 ------------------- .../89000-screen_chnage_leve_review_mode.py | 5 ++-- 3 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_review.py diff --git a/src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_marks.py b/src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_marks.py index ff7cab4b..501f7ad0 100644 --- a/src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_marks.py +++ b/src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_marks.py @@ -17,8 +17,7 @@ class command(): return 'No Description found' def run(self): - self.env['commandBuffer']['Marks']['1'] = None - self.env['commandBuffer']['Marks']['2'] = None + self.env['runtime']['cursorManager'].clearMarks() def setCallback(self, callback): pass diff --git a/src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_review.py b/src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_review.py deleted file mode 100644 index b63b0d5a..00000000 --- a/src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_review.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/python -# -*- coding: utf-8 -*- - -# Fenrir TTY screen reader -# By Chrys, Storm Dragon, and contributers. - -from core import debug - -class command(): - def __init__(self): - pass - def initialize(self, environment): - self.env = environment - def shutdown(self): - pass - def getDescription(self): - return 'No Description found' - - def run(self): - self.env['runtime']['cursorManager'].clearReviewCursor() - - def setCallback(self, callback): - pass - diff --git a/src/fenrir/commands/onScreenChanged/89000-screen_chnage_leve_review_mode.py b/src/fenrir/commands/onScreenChanged/89000-screen_chnage_leve_review_mode.py index b0b6147a..b63b0d5a 100644 --- a/src/fenrir/commands/onScreenChanged/89000-screen_chnage_leve_review_mode.py +++ b/src/fenrir/commands/onScreenChanged/89000-screen_chnage_leve_review_mode.py @@ -14,10 +14,11 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'No Description found' + return 'No Description found' def run(self): - self.env['runtime']['cursorManager'].clearMarks() + self.env['runtime']['cursorManager'].clearReviewCursor() def setCallback(self, callback): pass +