> > The solution is easy,
> > don't add the newline when there is a character in the last position
> > of the row.
>
> This isn't the desired behavior when you fill the line up with exactly
> the right number of characters. Just an edge case not to care about?
You are right, the correct solution
On Sat, 10 Aug 2013 10:37:30 +0200 "Roberto E. Vargas Caballero"
wrote:
> The solution is easy,
> don't add the newline when there is a character in the last position
> of the row.
This isn't the desired behavior when you fill the line up with exactly
the right number of characters. Just an edge
On Sat, Aug 10, 2013 at 04:15:49PM +0400, Dmitry Potapov wrote:
> Thanks a lot for quick response.
>
> Looks like this is already fixed in master. My bad, I haven't checked it
> first.
You are right, my patch was unneeded.
Thanks.
--
Roberto E. Vargas Caballero
k
Thanks a lot for quick response.
Looks like this is already fixed in master. My bad, I haven't checked it first.
--
Thanks
On Sat, Aug 10, 2013 at 12:37 PM, Roberto E. Vargas Caballero
wrote:
> When a line doesn't fit in a row of the terminal it is wrapped, so next
> characters of the line are
When a line doesn't fit in a row of the terminal it is wrapped, so next
characters of the line are shown in the next row. st adds always a newline
character when rows are copied, but it causes that in wrapped lines
a non needed newline is appended. The solution is easy, don't add the
newline when t