termiointernal: handle empty celles in selections.

Condition was wrong
This commit is contained in:
Boris Faure 2019-02-27 20:07:45 +01:00
parent b477d6cc20
commit 4d89080d71
1 changed files with 2 additions and 2 deletions

View File

@ -2598,8 +2598,8 @@ termio_internal_render(Termio *sd,
ch2 = x;
// cells[x].att.blink
// cells[x].att.blink2
if (u && (*u != codepoint) && (*u != ' ') &&
(codepoint != 0))
if (u && (*u != codepoint) &&
!(*u == 0x20 && codepoint == 0))
{
termio_sel_set(sd, EINA_FALSE);
u = cp = NULL;