diff options
author | June McEnroe <june@causal.agency> | 2021-09-30 20:53:10 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-09-30 20:53:10 -0400 |
commit | 9a70ae9e8082270889121e3131bed8d608ca95ba (patch) | |
tree | 260267c8962345b6b52420e23c44cf6199cb0c59 | |
parent | Add news of freecell mouse support to menu (diff) | |
download | play-9a70ae9e8082270889121e3131bed8d608ca95ba.tar.gz play-9a70ae9e8082270889121e3131bed8d608ca95ba.zip |
Handle KEY_BACKSPACE in freecell
Diffstat (limited to '')
-rw-r--r-- | freecell.c | 2 |
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; |