reset review on screen change

This commit is contained in:
chrys 2016-10-01 04:12:29 +02:00
parent 46dd83a3b7
commit 9f85c0af57
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,24 @@
#!/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

View File

@ -17,8 +17,7 @@ class command():
return 'No Description found'
def run(self):
self.env['screenData']['oldCursorReview'] = None
self.env['screenData']['newCursorReview'] = None
self.env['runtime']['cursorManager'].clearMarks()
def setCallback(self, callback):
pass