Previously the VtrSendLinesToRunner command was implemented by joining
the lines together with \r newline characters and then sending them
via a single batch tmux send-keys call. This caused some REPLs (pry
most notably) to display all the lines at once, and occasionally
mis-handle the sent text.
With this change, each line is now sent via a distinct tmux send-keys
call, better approximating a user interacting with the REPL.
Previously the VtrSendLinesToRunner command was implemented by joining the lines together with
\r
newline characters and then sending them via a single batchtmux send-keys
call. This caused some REPLs (pry most notably) to display all the lines at once, and occasionally mis-handle the sent text.With this change, each line is now sent via a distinct
tmux send-keys
call, better approximating a user interacting with the REPL.