summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/ui.cpp b/ui.cpp
index 82b9158..f1bd84a 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -78,8 +78,12 @@ int UI::getMove(const Board &bd) {
case KEY_LF:
case KEY_CR:
- if (cells[cury][curx] == -1) done = true;
- else bel();
+ if (cells[cury][curx] == -1) {
+ cout << "\x1B[36m#\x1B[0m\x1B[D";
+ done = true;
+ } else {
+ bel();
+ }
break;
case 'q':