Skip to content

Commit ecb962c

Browse files
committed
Support command+l to focus on chat tab input field
1 parent 34e6cee commit ecb962c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Core/Sources/ChatGPTChatTab/ChatPanel.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,13 @@ struct ChatPanelInputArea: View {
398398
EmptyView()
399399
}
400400
.keyboardShortcut(KeyEquivalent.return, modifiers: [.shift])
401+
402+
Button(action: {
403+
isInputAreaFocused = true
404+
}) {
405+
EmptyView()
406+
}
407+
.keyboardShortcut("l", modifiers: [.command])
401408
}
402409
}
403410

0 commit comments

Comments
 (0)