Skip to content

Commit 7bf2fe0

Browse files
Merge pull request manaflow-ai#1957 from che-3/fix/esc-not-working-in-panels
Fix Escape key not working in terminal panels (e.g. lazygit)
2 parents ef59f09 + ff77ba4 commit 7bf2fe0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Sources/AppDelegate.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4452,9 +4452,6 @@ final class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCent
44524452
commandPaletteEscapeSuppressionByWindowId.contains(windowId) else {
44534453
return false
44544454
}
4455-
if event.isARepeat {
4456-
return true
4457-
}
44584455
let startedAt = commandPaletteEscapeSuppressionStartedAtByWindowId[windowId] ?? 0
44594456
if ProcessInfo.processInfo.systemUptime - startedAt <= 0.35 {
44604457
return true

0 commit comments

Comments
 (0)