Revert "Removal of space after getchar."

This reverts commit e35b345a0c30f7dd7251919ed6e8ff849328268b.