[dev] st: nano-paste fix

2012-01-11 Thread Martti Kühne
On Tue, Jan 10, 2012 at 10:04:13PM +0100, Martti Kühne wrote: Which reminds me, I just wanted to paste the diffs into st where I'm writing this email and it seems copy/pasting doesn't work well with newlines. I might be back later or tomorrow with another one. =) Not sure if this would work

Re: [dev] st: nano-paste fix

2012-01-11 Thread Aurélien Aptel
On Wed, Jan 11, 2012 at 12:33 PM, Martti Kühne mysat...@gmail.com wrote: Debugging ttywrite() got me thinking, why is it that pressing Enter will not result in what would seem logical '\n' but '\r' as well instead? tty(1) mentions CR, though I'm completely lost if/why that be the right place.