When getting selected text, lines that were wrapped because of length
ought not include the wrapping newline in the selection.
This comes up, for example, when copying a bash command that is long
enough to wrap from the console and pasting it back into the console.
The extra newline breaks it.
Si
Hi
On Fri, Aug 22, 2014 at 09:25:04AM -0700, Ben Hendrickson wrote:
> When getting selected text, lines that were wrapped because of length
> ought not include the wrapping newline in the selection.
>
> This comes up, for example, when copying a bash command that is long
> enough to wrap from the
On Fri, Aug 22, 2014 at 12:00 PM, Silvan Jegen wrote:
>> + if (term.line[y][i - 1].mode & ATTR_WRAP)
>
> The preferred style in st.c seems to be the one without a space
> after the 'if'. There still are about 18 other places where this
> convention is broken however.
Good point. What is proto
On Fri, Aug 22, 2014 at 12:54:55PM -0700, Ben Hendrickson wrote:
> On Fri, Aug 22, 2014 at 12:00 PM, Silvan Jegen wrote:
> >> + if (term.line[y][i - 1].mode & ATTR_WRAP)
> >
> > The preferred style in st.c seems to be the one without a space
> > after the 'if'. There still are about 18 other p