2014-05-21 22:40 GMT+04:00 Eric Pruitt <eric.pru...@gmail.com>: > When copying text from st, all intermittent blank lines get removed. For > example, if I run "printf 'XXX\n\n\nXXX\n'" then copy and paste the > printed text, I get: > > XXX > XXX > > Instead the expected: > > XXX > > > XXX
This is most assuredly a bug. It was a past behaviour, then it got fixed in http://git.suckless.org/st/commit/st.c?id=e5ff746430725b05e223c454febbde949df2fde2 but somehow creeped back in. The bug was reintroduced in http://git.suckless.org/st/commit/st.c?id=eeae9b0ceef9e2fec4cb4f1132748c302e5ac702 , which fixed a core crash on OpenBSD. The correct behaviour would, of course, be to assume that a non-existent character doesn't have wrap, as opposed to does. -- Best regards, Alexaner Sedov.