moved displaying of next prompt after handling of command