Mercurial > hg > early-roguelike
comparison rogue3/command.c @ 8:78df7025783b
Make sure all output appears when exiting
author | edwarj4 |
---|---|
date | Fri, 23 Oct 2009 01:38:53 +0000 |
parents | e551d384f7c6 |
children | 949d558c2162 |
comparison
equal
deleted
inserted
replaced
7:d388234c4ce9 | 8:78df7025783b |
---|---|
187 { | 187 { |
188 wmove(cw, LINES-1, 0); | 188 wmove(cw, LINES-1, 0); |
189 wclrtoeol(cw); | 189 wclrtoeol(cw); |
190 draw(cw); | 190 draw(cw); |
191 endwin(); | 191 endwin(); |
192 printf("See you soon, %s!\n", whoami); | |
192 exit(0); | 193 exit(0); |
193 } | 194 } |
194 when '.' : ; /* Rest command */ | 195 when '.' : ; /* Rest command */ |
195 when CTRL('P') : | 196 when CTRL('P') : |
196 after = FALSE; | 197 after = FALSE; |