fix(tui): align overlay q shortcut casing

Keep shared overlay close behavior consistent with pager and agents overlays by binding lowercase q only.
This commit is contained in:
Brooklyn Nicholson 2026-04-25 14:26:35 -05:00
parent 6e83d90eb4
commit 919274b60e

View file

@ -8,7 +8,7 @@ export function useOverlayKeys({ disabled = false, onBack, onClose }: OverlayKey
return
}
if (ch.toLowerCase() === 'q') {
if (ch === 'q') {
return onClose()
}