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:
@@ -8,7 +8,7 @@ export function useOverlayKeys({ disabled = false, onBack, onClose }: OverlayKey
|
||||
return
|
||||
}
|
||||
|
||||
if (ch.toLowerCase() === 'q') {
|
||||
if (ch === 'q') {
|
||||
return onClose()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user