I want to be able to accept multi-line user input. The problem is that with my program the user can't just use Shift Enter to do it.
I want them to be able to paste in several paragraphs for translation and when it detects a new line it automatically takes it as an enter and cuts off the input. I am using raw_input
, not input
.
Does anyone know a way to overcome this, so it can accept pasted text with multiple lines without assuming it is the end of the input?