Re: [dev] [surf] [patch] strip uri leading whitespace when ctrl-p

2017-10-19 Thread
在 2017年10月19日 16:00, Hiltjo Posthuma 写道: > On Thu, Oct 19, 2017 at 12:47:41PM +0800, 黄建忠 wrote: >> When using ctrl-p to load uri from clipboard, it's better to strip the >> leading whitespace. >> >> For example, to select/copy a uri  from text in terminal and paste to

[dev] [surf] [patch] strip uri leading whitespace when ctrl-p

2017-10-18 Thread
When using ctrl-p to load uri from clipboard, it's better to strip the leading whitespace. For example, to select/copy a uri  from text in terminal and paste to surf, currently it need to be very careful not to include any whitespace before the uri. It's easy for keyboard selection, but for