nsxiv0ee05d2
Clarify comment in example key-handler (#89)
currently, the key-handler will not receive the `S-` modifier if there's a capital equivalent of that KEY. if https://github.com/nsxiv/nsxiv/pull/78 is to be merged, then this behaviour may change. however as it currently stands, we should fix the comment. we can update it later if needed.
+2 −0
1 file changed
- M examples/key-handler +2 −0
| @@ -11,6 +11,8 @@ | |||
| 11 | 11 | # The key combo argument has the following form: "[C-][M-][S-]KEY", | |
| 12 | 12 | # where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X | |
| 13 | 13 | # keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix. | |
| 14 | + | # If KEY has an uppercase equivalent, S-KEY is resolved into it. For instance, | |
| 15 | + | # K replaces S-k and Scedilla replaces S-scedilla, but S-Delete is sent as-is. | |
| 14 | 16 | ||
| 15 | 17 | rotate() { | |
| 16 | 18 | degree="$1" | |