If you type in Yes as an input to the terminal it makes an infinite stream of y's. This is problematic when a command asks for a yes/no, and you type in yes, and it messes up your terminal.It also makes it impossible to stop the stream, and you have to manually close the window.
Well, if you're not joking, read the yes man page please. This isn't a bug.