test(tui): tighten redraw hotkey review follow-ups

Use explicit repaint patch semantics for Ctrl/Cmd+L and narrow the hotkey assertion to the actual +L entry so unrelated descriptions do not cause false failures.
This commit is contained in:
Brooklyn Nicholson 2026-04-27 12:30:40 -05:00
parent 17029a64e8
commit da6f8449a5
2 changed files with 4 additions and 3 deletions

View file

@ -381,7 +381,7 @@ export function useInputHandlers(ctx: InputHandlerContext): InputHandlerResult {
if (isAction(key, ch, 'l')) {
clearSelection()
return patchUiState(state => ({ ...state }))
return patchUiState({})
}
if (isVoiceToggleKey(key, ch)) {