shithub: orca

Download patch

ref: 520e896ef9412816398bbabf704027f72387be0d
parent: b6b6e113255b9b14577bf2a9e10bb22c67c045e0
author: cancel <cancel@cancel.fm>
date: Wed Dec 5 07:13:35 EST 2018

Remove ctrl+d and ctrl+g as quit shortcuts

--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@
 
 #### Controls
 
-- `ctrl+q` or `ctrl+d` or `ctrl+g`: quit
+- `ctrl+q`: quit
 - Arrow keys or `ctrl+h/j/k/l`: move cursor
 - `A`-`Z`, `a`-`z`, `0`-`9`, and other printable characters: write character to grid at cursor
 - Spacebar: step the simulation one tick
--- a/tui_main.c
+++ b/tui_main.c
@@ -598,8 +598,6 @@
 
     switch (key) {
     case AND_CTRL('q'):
-    case AND_CTRL('d'):
-    case AND_CTRL('g'):
       goto quit;
     case KEY_UP:
     case AND_CTRL('k'):