From 18e928dfb81638311fed4c439ba1e52972f52ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 27 Jun 2012 19:29:41 -0400 Subject: [PATCH] terminal: Scroll selection with terminal contents --- clients/terminal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/terminal.c b/clients/terminal.c index 26ef4ffb..095be6a1 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