Skip to content

Commit

Permalink
Merge pull request #32 from GroupeMINASTE/shortcuts
Browse files Browse the repository at this point in the history
Adding keyboard shortcuts
  • Loading branch information
nathanfallet committed Mar 1, 2022
2 parents 1aa14cb + 3047380 commit cb4ee80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Shared/Views/Window/MainWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,11 @@ struct MainWindow: View {
Button(action: reloadConsole) {
Image(systemName: "arrow.clockwise")
}
.keyboardShortcut("k", modifiers: [.command])
Button(action: play) {
Image(systemName: "play")
}
.keyboardShortcut("r", modifiers: [.command])
}
}
.touchBar {
Expand Down

0 comments on commit cb4ee80

Please sign in to comment.