From 94a0ef8c3fc59d309bf4b5ad4a4c53cc845c4e9f Mon Sep 17 00:00:00 2001 From: girst Date: Tue, 12 Feb 2019 20:59:55 +0100 Subject: [PATCH] fix 80 columns, todo->done --- README.md | 2 +- sol.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 801ce67..6f16107 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,6 @@ licensing details, see `LICENSE`. ### P1 * none! \o/ ### P2 - * TODO: don't show cursor-highlight when inputting directly or with the mouse (/u/TooEarlyForMe) * TODO: suggest moves (`h` => hint) * TODO: cleanup: in `x2y()` functions there is a lot of replication and noise when calculating legal moves, top cards, etc. @@ -102,6 +101,7 @@ licensing details, see `LICENSE`. * DONE: - allow dragging the mouse * DONE: use `10` instead of `X` on card face (/u/Valley6660) * DONE: `:help` to show keyhelp (/u/Valley6660) + * DONE: don't show cursor-highlight when inputting directly or with the mouse (/u/TooEarlyForMe) --> ## Notes diff --git a/sol.c b/sol.c index 1828beb..e9de19f 100644 --- a/sol.c +++ b/sol.c @@ -129,7 +129,10 @@ restart: case CMD_NEW: return GAME_NEW; case CMD_AGAIN: goto restart; case CMD_QUIT: return GAME_QUIT; - case CMD_HELP: printf (KEYHELP "\nPress any key to continue."); getch(NULL);break; + case CMD_HELP: + printf (KEYHELP "\nPress any key to continue."); + getch(NULL); + break; } } } -- 2.39.3