Add keyboard navigation shortcuts

This commit is contained in:
diyaa
2026-09-15 12:37:11 +02:00
parent f199bcf114
commit 6023214cb3
4 changed files with 4 additions and 1 deletions
@@ -182,6 +182,7 @@ private struct ChatComposer: View {
Label("Send", systemImage: "paperplane.fill")
.labelStyle(.iconOnly)
}
.keyboardShortcut(.return, modifiers: .command)
.buttonStyle(.borderedProminent)
.disabled(text.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty)
.help("Send")