Improved application detection, now works inside screen and tmux. Fixed incosistancies in prev/next word navigation.

This commit is contained in:
Storm Dragon
2025-07-07 11:17:12 -04:00
parent d1a42835e4
commit c7cc9d039b
4 changed files with 238 additions and 41 deletions

View File

@ -57,13 +57,9 @@ class command:
return # ALWAYS return in table mode to prevent regular word navigation
# Regular word navigation (only when NOT in table mode)
self.env["screen"]["oldCursorReview"] = self.env["screen"][
"newCursorReview"
]
if self.env["screen"]["newCursorReview"] is None:
self.env["screen"]["newCursorReview"] = self.env["screen"][
"new_cursor"
].copy()
self.env["runtime"][
"CursorManager"
].enter_review_mode_curr_text_cursor()
(
self.env["screen"]["newCursorReview"]["x"],

View File

@ -39,6 +39,10 @@ class command:
self.env["runtime"]["OutputManager"].present_text(
output_text, interrupt=True, flush=False
)
# Play start of line sound
self.env["runtime"]["OutputManager"].present_text(
_("start of line"), interrupt=False, sound_icon="StartOfLine"
)
elif table_info:
# Normal column navigation - announce cell content with column info
output_text = f"{table_info['cell_content']} {table_info['column_header']}"