From 6d247bebf90cb54d77b4be27ee24f752282262cd Mon Sep 17 00:00:00 2001 From: girst Date: Sun, 6 Jan 2019 01:06:14 +0100 Subject: [PATCH] remove redundant display calls --- README.md | 1 + sol.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e6c4a41..c5900b0 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ play klondike and spider solitaire in your unicode terminal. ## TODO ### P1 + * TODO: in direct addressing 'up to' dialog: make return/space select the lowest/highest option ### P2 * TODO: undo: - insert append_undo() in x2y() functions diff --git a/sol.c b/sol.c index dbbb9ad..a4ed8cc 100644 --- a/sol.c +++ b/sol.c @@ -104,7 +104,6 @@ int sol(void) { deal(); int from, to, opt; - print_table(NO_HI, NO_HI); for(;;) { switch (get_cmd(&from, &to, &opt)) { case CMD_MOVE: @@ -121,7 +120,6 @@ int sol(void) { case CMD_AGAIN: //TODO: restart with same seed case CMD_QUIT: return GAME_QUIT; } - print_table(NO_HI, NO_HI); } } -- 2.39.3