Browse Source

Remove ctrl+d and ctrl+g as quit shortcuts

master
cancel 6 years ago
parent
commit
520e896ef9
  1. 2
      README.md
  2. 2
      tui_main.c

2
README.md

@ -62,7 +62,7 @@ Run the interactive terminal UI, useful for debugging or observing behavior. Pas
#### 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

2
tui_main.c

@ -598,8 +598,6 @@ int main(int argc, char** argv) {
switch (key) {
case AND_CTRL('q'):
case AND_CTRL('d'):
case AND_CTRL('g'):
goto quit;
case KEY_UP:
case AND_CTRL('k'):

Loading…
Cancel
Save