aboutsummaryrefslogtreecommitdiff
path: root/pegs.c
diff options
context:
space:
mode:
Diffstat (limited to 'pegs.c')
-rw-r--r--pegs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pegs.c b/pegs.c
index 1cfa9c7..cd696f6 100644
--- a/pegs.c
+++ b/pegs.c
@@ -785,7 +785,7 @@ static game_ui *new_ui(const game_state *state)
ui->sx = ui->sy = ui->dx = ui->dy = 0;
ui->dragging = false;
- ui->cur_visible = false;
+ ui->cur_visible = getenv_bool("PUZZLES_SHOW_CURSOR", false);
ui->cur_jumping = false;
/* make sure we start the cursor somewhere on the grid. */