Update cursor_position.py
This commit is contained in:
parent
0bb8c7a619
commit
fa0da3317d
@ -18,10 +18,7 @@ class command():
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
# Prefer review cursor over text cursor
|
# Prefer review cursor over text cursor
|
||||||
if self.env['screenData']['newCursorReview']:
|
cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
|
||||||
cursorPos = self.env['screenData']['newCursorReview'].copy()
|
|
||||||
else:
|
|
||||||
cursorPos = self.env['screenData']['newCursor'].copy()
|
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText("line "+ str(cursorPos['y']+1) + " column "+ str(cursorPos['x']+1), interrupt=True)
|
self.env['runtime']['outputManager'].presentText("line "+ str(cursorPos['y']+1) + " column "+ str(cursorPos['x']+1), interrupt=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user