GUACAMOLE-1256: Flush display immediately after copy to avoid conflic with cursor commit.
This commit is contained in:
parent
22338ea46a
commit
8ba29b25e7
@ -924,6 +924,10 @@ int guac_terminal_scroll_up(guac_terminal* term,
|
||||
end_row - amount + 1, 0,
|
||||
end_row, term->term_width - 1);
|
||||
|
||||
/* Flush display copy before the cursor commit override operation
|
||||
* type for visible cursor row and breaks display. */
|
||||
guac_terminal_display_flush(term->display);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -937,6 +941,10 @@ int guac_terminal_scroll_down(guac_terminal* term,
|
||||
start_row, 0,
|
||||
start_row + amount - 1, term->term_width - 1);
|
||||
|
||||
/* Flush display copy before the cursor commit override operation
|
||||
* type for visible cursor row and breaks display. */
|
||||
guac_terminal_display_flush(term->display);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user