corentin-soriano commented on code in PR #512:
URL: https://github.com/apache/guacamole-server/pull/512#discussion_r1635210097
##########
src/terminal/terminal.c:
##########
@@ -243,7 +243,7 @@ void guac_terminal_reset(guac_terminal* term) {
/* Clear terminal */
for (row=0; row<term->term_height; row++)
- guac_terminal_set_columns(term, row, 0, term->term_width,
&(term->default_char));
+ guac_terminal_set_columns(term, row, 0, term->term_width-1,
&(term->default_char));
Review Comment:
Without the -1 here, row->length is larger on the initial screen than on new
lines once you get to the bottom of the screen.
Everywhere else in the code initializations are done on term_width-1
(probably because the scrollbar is on top).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]