From: Kristian Høgsberg Date: Wed, 27 Jun 2012 23:29:41 +0000 (-0400) Subject: terminal: Scroll selection with terminal contents X-Git-Tag: 0.95.0~103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18e928dfb81638311fed4c439ba1e52972f52ab4;p=platform%2Fupstream%2Fweston.git terminal: Scroll selection with terminal contents --- diff --git a/clients/terminal.c b/clients/terminal.c index 26ef4ff..095be6a 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -588,6 +588,9 @@ terminal_scroll_buffer(struct terminal *terminal, int d) terminal->curr_attr, terminal->width); } } + + terminal->selection_start_row -= d; + terminal->selection_end_row -= d; } static void