projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38912df
)
terminal: Scroll selection with terminal contents
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 27 Jun 2012 23:29:41 +0000
(19:29 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 27 Jun 2012 23:29:41 +0000
(19:29 -0400)
clients/terminal.c
patch
|
blob
|
history
diff --git
a/clients/terminal.c
b/clients/terminal.c
index
26ef4ff
..
095be6a
100644
(file)
--- 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