Changed definitions for prompt window input