summary refs log tree commit diff homepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--freecell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freecell.c b/freecell.c
index 9185870..3855d18 100644
--- a/freecell.c
+++ b/freecell.c
@@ -352,7 +352,7 @@ static void input(void) {
 	switch (tolower(ch)) {
 		break; case 'Q'^'@': quit = true;
 		break; case '\33': srcStack = Stacks;
-		break; case 'u': case '\b': case '\177': undo();
+		break; case 'u': case '\b': case '\177': case KEY_BACKSPACE: undo();
 		break; case '1': case '!': stack = Cell+0;
 		break; case '2': case '@': stack = Cell+1;
 		break; case '3': case '#': stack = Cell+2;