Merge pull request #1957 from che-3/fix/esc-not-working-in-panels
Fix Escape key not working in terminal panels (e.g. lazygit)
This commit is contained in:
commit
5be9edaf5e
1 changed files with 0 additions and 3 deletions
|
|
@ -4452,9 +4452,6 @@ final class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCent
|
|||
commandPaletteEscapeSuppressionByWindowId.contains(windowId) else {
|
||||
return false
|
||||
}
|
||||
if event.isARepeat {
|
||||
return true
|
||||
}
|
||||
let startedAt = commandPaletteEscapeSuppressionStartedAtByWindowId[windowId] ?? 0
|
||||
if ProcessInfo.processInfo.systemUptime - startedAt <= 0.35 {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue