-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUACAMOLE-1943: Add ctrl+arrows/ctrl+backspace shortcuts #505
base: main
Are you sure you want to change the base?
GUACAMOLE-1943: Add ctrl+arrows/ctrl+backspace shortcuts #505
Conversation
caab28b
to
7250202
Compare
7250202
to
4648128
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
…end keyboard shortcuts.
…erminal_send_key.
a70f766
to
0813e93
Compare
Adds support for the following hotkeys: