You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reassign automatic hotkeys when a view title changes #5760
When automatic hotkey assignment is enabled, changing an initialized SubView's title can leave its old hotkey reserved by the SuperView. The updated title should determine the SubView's hotkey, and the previous hotkey should no longer be marked as used.
To reproduce
Enable automatic hotkey assignment on a SuperView.
Add a SubView titled Save and initialize the SuperView.
Change the SubView title to Open.
Expected behavior
The SubView receives the hotkey for Open, and the hotkey previously assigned from Save is removed from the SuperView's used hotkeys.
Acceptance criteria
Changing an initialized SubView's title updates its automatically assigned hotkey.
The previous automatically assigned hotkey is released from the SuperView's used hotkeys.
Explicitly assigned hotkeys and hotkeys specified in the title remain respected.
Tests cover reassignment and reservation cleanup after a title change.
Activity
Fixes tui-cs#5760. Reassign automatic hotkeys when a view title chang…