mawww commented on a change in pull request #237: GUACAMOLE-871: Add support 
for hidden cursor (DECTECM)
URL: https://github.com/apache/guacamole-server/pull/237#discussion_r334728601
 
 

 ##########
 File path: src/terminal/terminal.c
 ##########
 @@ -777,31 +778,43 @@ void guac_terminal_commit_cursor(guac_terminal* term) {
 
     guac_terminal_char* guac_char;
 
-    guac_terminal_buffer_row* old_row;
-    guac_terminal_buffer_row* new_row;
+    guac_terminal_buffer_row* row;
 
     /* If no change, done */
     if (term->visible_cursor_row == term->cursor_row && 
term->visible_cursor_col == term->cursor_col)
 
 Review comment:
   I think you are right, we would also need to check `term->cursor_visible == 
(term->visible_cursor_col == -1)` or `term->cursor_visible == 
term->visible_cursor_visible` (see the other comment).

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to