How to read multiple lines from standard input (in Listener)?

I tried to write something like "readln readln", then copy-paste two lines of 
text to Listener, but I got an unexpected result. I got first line on stack, 
then program waited for my input. I pressed the "Enter" key and, of course, got 
empty string on stack. So, I got "Line1" "" instead of "Line1" "Line2". How to 
get both lines? For example, "Line1\nLine2" or something else. Maybe I chose 
the wrong input method?
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to