Control D for input termination

I have a similar question. While testing, I found out, that the user can input a string without newline character by pressing Ctrl+D instead of Enter. In my implementation of guess, a lot breaks, if there is no newline character.
Should we try to catch this somehow or can we always expect a newline character?

1 Like

Ok, thanks for the answer! :slight_smile: