diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2005-06-25 13:43:45 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2005-06-25 13:43:45 +0000 |
| commit | 185d999b6bfd0371d6ac2e44ef924fad5ffb3fa4 (patch) | |
| tree | 6c892262b642be20b689628641147916a8d42852 /guess.c | |
| parent | a0d0c7e795268068642a315227a8e2f754d6968a (diff) | |
| download | puzzles-185d999b6bfd0371d6ac2e44ef924fad5ffb3fa4.zip puzzles-185d999b6bfd0371d6ac2e44ef924fad5ffb3fa4.tar.gz puzzles-185d999b6bfd0371d6ac2e44ef924fad5ffb3fa4.tar.bz2 puzzles-185d999b6bfd0371d6ac2e44ef924fad5ffb3fa4.tar.xz | |
Make the keyboard-control cursors visible whenever a keyboard control is
activated.
[originally from svn r6013]
Diffstat (limited to 'guess.c')
| -rw-r--r-- | guess.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -700,6 +700,7 @@ static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds, ret = from; } else if (button == CURSOR_SELECT || button == ' ' || button == '\r' || button == '\n') { + ui->display_cur = 1; if (ui->peg_cur == from->params.npegs) { ret = mark_move(from, ui); } else { @@ -707,6 +708,7 @@ static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds, ret = from; } } else if (button == 'H' || button == 'h') { + ui->display_cur = 1; ui->holds[ui->peg_cur] = 1 - ui->holds[ui->peg_cur]; ret = from; } |