GUACAMOLE-1943: Add ctrl+arrows/ctrl+backspace shortcuts#505
Conversation
caab28b to
7250202
Compare
7250202 to
4648128
Compare
necouchman
left a comment
There was a problem hiding this comment.
Just one request - #define things that should be constants.
Shouldn’t I rather follow the existing style where the key/terminal codes are currently written without #define? |
Well, we're trying to improve that: |
55c3b2a to
e2785f8
Compare
While I was at it, I added #define constants for the entirety of the __guac_terminal_send_key function and broke up overly long lines. Feel free to let me know if I should move the declarations to another file or if it would be better to comment each #define. Would you prefer that I move the second commit to a new pull request?" |
e2785f8 to
47e04b8
Compare
Wow, thank you. I'm good with them all being in this pull request, but could you move them to a header file - guessing As far as comments go, to be consistent we'll probably need a comment/documentation for each |
47e04b8 to
0e9c3e5
Compare
#defines moved to terminal.h |
|
@jmuehlner, @mike-jumper, would you prefer that I add a comment for each #define or should I leave it like this? |
To match our guidelines and existing style, each constant (whether defined by |
78f01a8 to
a70f766
Compare
I added a comment for each |
a70f766 to
0813e93
Compare
0813e93 to
1368c53
Compare
…end keyboard shortcuts.
ed551ef to
b7bdb69
Compare
|
@corentin-soriano Oops, one thing - the commits should both be tagged for |
…terminal_send_key.
b7bdb69 to
b011ecc
Compare
Done! |
Adds support for the following hotkeys: