Don't add unnecessary newlines on selections.
We were adding newlines on wrapped lines that ended with a ' '. I don't see anything breaking by removing this check, but if something does, please be clear about it.
This commit is contained in:
parent
4134aa27be
commit
fd065b81f7
|
@ -4635,7 +4635,7 @@ termio_selection_get(Evas_Object *obj, int c1x, int c1y, int c2x, int c2y,
|
|||
}
|
||||
#endif
|
||||
if (x >= w) break;
|
||||
if ((cells[x].codepoint == 0) || (cells[x].codepoint == ' '))
|
||||
if (cells[x].codepoint == 0)
|
||||
{
|
||||
if (last0 < 0) last0 = x;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue