Skip to content

Commit

Permalink
GUACAMOLE-1943: Add ctrl+suppr shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
corentin-soriano committed Apr 16, 2024
1 parent 26273e0 commit caab28b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/terminal/terminal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1662,6 +1662,10 @@ static int __guac_terminal_send_key(guac_terminal* term, int keysym, int pressed
else if (keysym == 0xFF08)
data = (char) 23;

/* CTRL+Supr: remove word to right */
else if (keysym == 0xFFFF)
return guac_terminal_send_string(term, "\033D");

/* Otherwise ignore */
else
return 0;
Expand Down

0 comments on commit caab28b

Please sign in to comment.