on macos and linux, copy
julia> x=2 julia> x + 1
into the copy-paste buffer.
obviously, this should not be pasted into a running REPL, because each line starts with
except, the REPL is smart enough to recognize this somehow. in fact, on paste, the paste-buffer
julia> does not show up on the screen.
typing the code into the REPL does not work. the 'julia> ’ becomes visible, and then it does not work.
so, how does this feature work? is this special paste functionality in the julia REPL?