billiob pushed a commit to branch master.

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

commit b74cfc752a6d032fd4a6b280e8505be11f4451c3
Author: Boris Faure <bill...@gmail.com>
Date:   Sun Feb 7 18:15:00 2016 +0100

    do not append \n at end of box selection
---
 src/bin/termio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index 3526b6e..20d5759 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -2341,7 +2341,7 @@ termio_take_selection(Evas_Object *obj, Elm_Sel_Type type)
              if (tmp)
                {
                   eina_strbuf_append_length(sb, tmp, len);
-                  if (len && tmp[len - 1] != '\n')
+                  if (len && tmp[len - 1] != '\n' && i != end_y)
                     eina_strbuf_append_char(sb, '\n');
                   free(tmp);
                }

-- 


Reply via email to