mike-jumper commented on code in PR #446:
URL: https://github.com/apache/guacamole-server/pull/446#discussion_r1222260971


##########
src/terminal/terminal.c:
##########
@@ -1584,8 +1587,8 @@ static int __guac_terminal_send_key(guac_terminal* term, 
int keysym, int pressed
     /* If key pressed */
     else if (pressed) {
 
-        /* Ctrl+Shift+V shortcut for paste */
-        if (keysym == 'V' && term->mod_ctrl)
+        /* Ctrl+Shift+V or Cmd+v (mac style) shortcuts for paste */
+        if ((keysym == 'V' && term->mod_ctrl) || (keysym = 'v' && 
term->mod_meta))

Review Comment:
   This an assignment of `'v'` to `keysym`. It should instead be `keysym == 
'v'`.



-- 
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]

Reply via email to