Mercurial > hg > early-roguelike
comparison rogue4/command.c @ 24:4967c46f1320
rogue4: make sure score list appears when exiting
| author | edwarj4 |
|---|---|
| date | Tue, 24 Nov 2009 13:02:34 +0000 |
| parents | 9535a08ddc39 |
| children | 0fd87c5c5fca |
comparison
equal
deleted
inserted
replaced
| 23:107a467612fb | 24:4967c46f1320 |
|---|---|
| 207 { | 207 { |
| 208 move(LINES-1, 0); | 208 move(LINES-1, 0); |
| 209 clrtoeol(); | 209 clrtoeol(); |
| 210 refresh(); | 210 refresh(); |
| 211 endwin(); | 211 endwin(); |
| 212 printf("See you soon, %s!\n", whoami); | |
| 212 exit(0); | 213 exit(0); |
| 213 } | 214 } |
| 214 when '.' : ; /* Rest command */ | 215 when '.' : ; /* Rest command */ |
| 215 when ' ' : after = FALSE; /* "Legal" illegal command */ | 216 when ' ' : after = FALSE; /* "Legal" illegal command */ |
| 216 when '^' : | 217 when '^' : |
