Input buffer needs to be flushed if the first iteration of command

repetition is canceled.

Repetitions of searching and go-nowhere weren't being interrupted.

Wasn't generating activity interrupts for AI_FULL_MP and AI_FULL_HP.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2150 c06c8d41-db1a-0410-9941-cceddc491573

Created by  zelgadis  on September 19, 2007
ZFU47WIFCFIBN44OHNWXWGYCB2YQV2S7AMCKYTMPPKXGKZJY25LQC
Change contents