billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=5fedd2c0a4556ef8574a9d596cf9871a4445aaab

commit 5fedd2c0a4556ef8574a9d596cf9871a4445aaab
Author: Boris Faure <[email protected]>
Date:   Sat Feb 23 11:12:14 2019 +0100

    termiointernals: unset selection when codepoint is different
    
    but do not make a difference between space and no codepoint
---
 src/bin/termiointernals.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/termiointernals.c b/src/bin/termiointernals.c
index 3193ede..e87e7d7 100644
--- a/src/bin/termiointernals.c
+++ b/src/bin/termiointernals.c
@@ -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;

-- 


Reply via email to