aboutsummaryrefslogtreecommitdiff
path: root/guess.c
diff options
context:
space:
mode:
Diffstat (limited to 'guess.c')
-rw-r--r--guess.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/guess.c b/guess.c
index 5046f98..f359a99 100644
--- a/guess.c
+++ b/guess.c
@@ -410,6 +410,7 @@ static game_ui *new_ui(const game_state *state)
ui->params = state->params; /* structure copy */
ui->curr_pegs = new_pegrow(state->params.npegs);
ui->holds = snewn(state->params.npegs, bool);
+ ui->display_cur = getenv_bool("PUZZLES_SHOW_CURSOR", false);
memset(ui->holds, 0, sizeof(bool)*state->params.npegs);
ui->drag_opeg = -1;
return ui;