billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=3be858b09b341ac9b43eb271de3a786b89530539

commit 3be858b09b341ac9b43eb271de3a786b89530539
Author: Boris Faure <[email protected]>
Date:   Mon May 11 23:22:58 2020 +0200

    termiointernals: handle EM (end of medium) as word separator
---
 src/bin/termiointernals.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/bin/termiointernals.c b/src/bin/termiointernals.c
index 0d4ae5c..51888d0 100644
--- a/src/bin/termiointernals.c
+++ b/src/bin/termiointernals.c
@@ -632,12 +632,6 @@ _codepoint_is_wordsep(const Eina_Unicode g)
    // http://en.wikipedia.org/wiki/Bracket
    static const Eina_Unicode wordsep[] =
      {
-       0,
-       ' ',
-       '!',
-       '"',
-       '#',
-       '$',
        '\'',
        '(',
        ')',
@@ -802,6 +796,8 @@ _codepoint_is_wordsep(const Eina_Unicode g)
 
    if (g & 0x80000000)
      return EINA_TRUE;
+   if (g < '.')
+     return EINA_TRUE;
 
    while (imax >= imin)
      {

-- 


Reply via email to