Skip to content

Commit

Permalink
Add more press options
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Dec 12, 2019
1 parent b864fd3 commit 5f6a528
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions KB/Native/Model/KeyBindingAction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ enum KeyBindingAction: Codable, Identifiable {
.press(.escape, []),
.press(.space, [.control]),
.press(.backquote, []),
.press(.pageUp, []),
.press(.pageDown, []),
.press(.home, []),
.press(.end, []),
.press(.f1, []),
.press(.f2, []),
.press(.f3, []),
Expand Down
2 changes: 1 addition & 1 deletion KB/Native/Model/KeyModifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

enum KeyModifier: String, Codable {
case none = ""
case escape = "Escape"
case bit8 = "8-bit"
case escape = "Escape"
case shift = "Shift"
case control = "Control"
case meta = "Meta"
Expand Down
2 changes: 1 addition & 1 deletion KB/Native/Views/KeyModifierPicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ struct KeyModifierPicker: View {
List {
Section {
_mod(.none, title: "Default")
_mod(.escape)
_mod(.bit8)
_mod(.escape)
_mod(.control)
_mod(.shift)
_mod(.meta)
Expand Down

0 comments on commit 5f6a528

Please sign in to comment.