I was having a similar problem with st and nano. Apparently, the stuff piped to hexdump looked just fine, and I concluded that nano is doing funny things with input. iirc switching to sandy as terminal editor solved the problem for me...
- [dev] st - weird pasting (bug?) KarlOskar Rikås
- Re: [dev] st - weird pasting (bug?) Martti Kühne
- Re: [dev] st - weird pasting (bug?) Roberto E. Vargas Caballero
- Re: [dev] st - weird pasting (bug?) KarlOskar Rikås