aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termptyops.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-11-18 22:30:26 +0100
committerBoris Faure <billiob@gmail.com>2013-11-18 22:30:26 +0100
commit509a5d1a7bfaeaac04fd3902ee064270d17ee39d (patch)
tree81f30358bee3e0f800752fa4de24b1ae932715bf /src/bin/termptyops.c
parentadd termpty_screen_swap() to simplify code (diff)
downloadterminology-509a5d1a7bfaeaac04fd3902ee064270d17ee39d.tar.gz
fix scrolling with selection on irssi in tmux. Closes https://phab.enlightenment.org/T404
Diffstat (limited to 'src/bin/termptyops.c')
-rw-r--r--src/bin/termptyops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/termptyops.c b/src/bin/termptyops.c
index 428d7d8..07fe89d 100644
--- a/src/bin/termptyops.c
+++ b/src/bin/termptyops.c
@@ -74,7 +74,7 @@ _termpty_text_scroll(Termpty *ty, Eina_Bool clear)
if (!ty->altbuf)
termpty_text_save_top(ty, &(TERMPTY_SCREEN(ty, 0, 0)), ty->w);
- termio_scroll(ty->obj, -1);
+ termio_scroll(ty->obj, -1, start_y, end_y);
DBG("... scroll!!!!! [%i->%i]", start_y, end_y);
if (start_y == 0 && end_y == ty->h - 1)
@@ -114,7 +114,7 @@ _termpty_text_scroll_rev(Termpty *ty, Eina_Bool clear)
end_y = ty->state.scroll_y2 - 1;
}
DBG("... scroll rev!!!!! [%i->%i]", start_y, end_y);
- termio_scroll(ty->obj, 1);
+ termio_scroll(ty->obj, 1, start_y, end_y);
if (start_y == 0 && end_y == ty->h - 1)
{