This makes `yy` -> `p` line copying work correctly, but whether external
text would be pasted as whole lines or not now depends on the last copy
operation.
The proper implementation would store the register type in the actual
Gtk clipboard, but gtk-rs is not ready for that yet.