Fix to show input at appropriate position while input_waiting

Fix #100
Merge pull request #101 from haya14busa/fix-waiting-pos

Fix to show input at appropriate position while input_waiting