billiob pushed a commit to branch master.

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

commit feccb7bcab33772b1f8d69bad598fbd8e61b0ec8
Author: Boris Faure <[email protected]>
Date:   Mon Feb 16 20:50:13 2015 +0100

    fix single line selection with ctrl down
---
 src/bin/termio.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index ac31f2b..ad192cf 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -3935,8 +3935,7 @@ _smart_cb_mouse_up(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UNUSED
                   else
                     {
                        sd->didclick = EINA_TRUE;
-                       sd->pty->selection.end.x = cx;
-                       sd->pty->selection.end.y = cy - sd->scroll;
+                       _sel_to(sd, cx, cy - sd->scroll, EINA_FALSE);
                     }
                }
              _selection_dbl_fix(sd);

-- 


Reply via email to