From 71e521ebaa665595eb0472ab5d1f948dca3bf327 Mon Sep 17 00:00:00 2001 From: girst Date: Thu, 25 Oct 2018 15:35:19 +0200 Subject: [PATCH] update readme keybindings --- README.md | 11 +++++++---- mines.c | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 417d80d..4501c22 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,12 @@ Complete documentation and screenshots can be found on the | `i` | flag / unflag | | `o` | open / chord | | space | modeful, either open or flag | -| `e` | toggle mode for space (open/flag) | +| `s` | toggle mode for space (open/flag) | | `r` | restart game | | Ctrl-L | redraw screen | -| `q` | quit | +| `:h` | show keybindings (Ctrl-L to hide) | +| `:r` | resize playfield | +| `:q` | quit | Use the left mouse button to open or chord a cell, and the right button to flag. @@ -36,8 +38,9 @@ A new game can be started by clicking on the `:D` icon. | `-n` | disable flagging | | `-f` | enable flagging (default) | | `-q` | enable question marks | -| `-c` | switch to the colored scheme | -| `-d` | switch to the DEC charset scheme | +| `-b` | use the bland (monospace) scheme (default) | +| `-c` | use the colored scheme | +| `-d` | use the DEC charset scheme | | *W*`x`*H*`x`*M* | Fieldspec, width \* height \* number of mines | ## Character Schemes diff --git a/mines.c b/mines.c index 2b0a6a4..14018f1 100644 --- a/mines.c +++ b/mines.c @@ -192,6 +192,7 @@ int minesviiper(void) { case 'T': find(getch_wrapper(), '<',-1); break; case 'a': find(getch_wrapper(), '>',+1); break; case 'A': find(getch_wrapper(), '<',+1); break; + //TODO: HJKL, ^H^J^K^L: up/down/left/right/45deg case WRAPPER_EMOTICON: case 'r': timer_setup(0); return GAME_NEW; case ':': -- 2.39.3