billiob pushed a commit to branch master.
commit ce9220ef352b897bb86acff78c77702341d068b5
Author: Boris Faure <[email protected]>
Date: Thu Jun 6 22:59:26 2013 +0200
fix termio_selection_get() on backscroll
Add a newline if trying to select after the end of line
---
src/bin/termio.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/bin/termio.c b/src/bin/termio.c
index e739757..d457fd8 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -4072,7 +4072,11 @@ termio_selection_get(Evas_Object *obj, int c1x, int c1y,
int c2x, int c2y,
cells = termpty_cellrow_get(sd->pty, y, &w);
if (!cells) continue;
if (w > sd->grid.w) w = sd->grid.w;
- if (y == c1y && c1x >= w) continue;
+ if (y == c1y && c1x >= w)
+ {
+ eina_strbuf_append_char(sb, '\n');
+ continue;
+ }
start_x = c1x;
end_x = (c2x >= w) ? w - 1 : c2x;
if (c1y != c2y)
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j