termiointernals: unset selection when codepoint is different

but do not make a difference between space and no codepoint
This commit is contained in:
Boris Faure 2019-02-23 11:12:14 +01:00
parent 510032df70
commit 5fedd2c0a4
1 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,6 @@ err:
termpty_backlog_unlock();
}
static void
_sel_fill_in_codepoints_array(Termio *sd)
{
@ -2608,7 +2607,8 @@ termio_internal_render(Termio *sd,
ch2 = x;
// cells[x].att.blink
// cells[x].att.blink2
if (u && *u != codepoint)
if (u && (*u != codepoint) && (*u != ' ') &&
(codepoint != 0))
{
termio_sel_set(sd, EINA_FALSE);
u = cp = NULL;