Restore scroll down.
This commit is contained in:
parent
5e51f361ee
commit
edc4c223bb
@ -191,7 +191,14 @@ int guac_terminal_scroll_up(guac_terminal* term,
|
|||||||
|
|
||||||
int guac_terminal_scroll_down(guac_terminal* term,
|
int guac_terminal_scroll_down(guac_terminal* term,
|
||||||
int start_row, int end_row, int amount) {
|
int start_row, int end_row, int amount) {
|
||||||
/* STUB */
|
|
||||||
|
guac_terminal_copy_rows(term, start_row, end_row - amount, amount);
|
||||||
|
|
||||||
|
/* Clear new area */
|
||||||
|
guac_terminal_clear_range(term,
|
||||||
|
start_row, 0,
|
||||||
|
start_row + amount - 1, term->term_width - 1);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user