Fix multiple lines not being sent to Ubuntu's paste service

Signed-off-by: Steven Downer <grinch@outlook.com>