Skip to content

Commit

Permalink
Refactor computer window (#37269)
Browse files Browse the repository at this point in the history
* Refactor computer window printing

* Use input context in query_bool and query_ynq

* Split computer actions into functions

* Split computer failures into functions
  • Loading branch information
Qrox authored and ZhilkinSerg committed Jan 23, 2020
1 parent 5e2728e commit 31768ac
Show file tree
Hide file tree
Showing 3 changed files with 1,239 additions and 1,014 deletions.
25 changes: 25 additions & 0 deletions data/raw/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2797,6 +2797,31 @@
{ "input_method": "keyboard", "key": "ESC" }
]
},
{
"type": "keybinding",
"id": "YES",
"category": "YESNOQUIT",
"name": "Yes",
"bindings": [ { "input_method": "keyboard", "key": "Y" }, { "input_method": "keyboard", "key": "y" } ]
},
{
"type": "keybinding",
"id": "NO",
"category": "YESNOQUIT",
"name": "No",
"bindings": [ { "input_method": "keyboard", "key": "N" }, { "input_method": "keyboard", "key": "n" } ]
},
{
"type": "keybinding",
"id": "QUIT",
"category": "YESNOQUIT",
"name": "Quit",
"bindings": [
{ "input_method": "keyboard", "key": "Q" },
{ "input_method": "keyboard", "key": "q" },
{ "input_method": "keyboard", "key": "ESC" }
]
},
{
"type": "keybinding",
"id": "YES",
Expand Down
Loading

0 comments on commit 31768ac

Please sign in to comment.