Fixed prompt not showing properly in dumb frotz
authorBryce Lanham <blanham@gmail.com>
Tue, 11 Feb 2014 05:12:25 +0000 (23:12 -0600)
committerBryce Lanham <blanham@gmail.com>
Tue, 11 Feb 2014 05:12:25 +0000 (23:12 -0600)
commitf126f6684f550a8c47d7ed1d31769645d6e697a8
treef0a9fa4d76deddd2747df4bc133fde6ee5ac9fb7
parentf9a2c1cbffbfadcfc37811546136ceb59e00d355
Fixed prompt not showing properly in dumb frotz

Prompt was not showing up until after user submitted a line, because prompts
do not end with a newline, which would trigger fflush(). Adding a fflush() of
stdout fixes this.
src/dumb/dumb_input.c