From 9a70ae9e8082270889121e3131bed8d608ca95ba Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 30 Sep 2021 20:53:10 -0400 Subject: Handle KEY_BACKSPACE in freecell --- freecell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'freecell.c') 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; -- cgit 1.4.1