ref: 185d999b6bfd0371d6ac2e44ef924fad5ffb3fa4
parent: a0d0c7e795268068642a315227a8e2f754d6968a
author: Jacob Nevins <jacobn@chiark.greenend.org.uk>
date: Sat Jun 25 09:43:45 EDT 2005
Make the keyboard-control cursors visible whenever a keyboard control is activated. [originally from svn r6013]
--- a/guess.c
+++ b/guess.c
@@ -700,6 +700,7 @@
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 @@
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;
}