diff --git a/src/fenrir-package/commands/commands/curr_word_phonetic.py b/src/fenrir-package/commands/commands/curr_word_phonetic.py index aa8b57ad..24d5c4b8 100644 --- a/src/fenrir-package/commands/commands/curr_word_phonetic.py +++ b/src/fenrir-package/commands/commands/curr_word_phonetic.py @@ -19,10 +19,7 @@ class command(): return 'phonetically spells the current word' def run(self): - if self.env['screenData']['newCursorReview']: - cursorPos = self.env['screenData']['newCursorReview'].copy() - else: - cursorPos = self.env['screenData']['newCursor'].copy() + cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor() x, y, currWord = \ word_utils.getCurrentWord(cursorPos['x'], cursorPos['y'], self.env['screenData']['newContentText'])