Why did you write that loop in the first place?
On Windows, you end input to STDIN by entering CTRL+Z on an empty line and pressing enter.
In reply to Re^5: Waiting For Input
by Corion
in thread Waiting For Input
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |