Add fflush() (2)

This commit is contained in:
sdottaka
2015-01-03 14:52:11 +09:00
parent 9a0fb6f91b
commit 71548aabb7
@@ -466,6 +466,7 @@ dbgcmd_quit(mrb_state *mrb, mrdb_state *mrdb)
int buf;
printf("The program is running. Exit anyway? (y or n) ");
fflush(stdout);
if ((buf = getchar()) == EOF) {
mrdb->dbg->xm = DBG_QUIT;