diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-28 22:50:23 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-28 22:50:23 -0800 |
| commit | 86a9bafec3e20414b709a554d974cff2eba3d30c (patch) | |
| tree | eb90c886d16ea7470f08da3067b19d39f6322992 /terminal.h | |
| parent | e99a904f2f334b1bca9d2b4f2f570cf4b35cfe4a (diff) | |
Revered macro comments to inline blocks
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -48,22 +48,22 @@ typedef enum { #define MOD_SHIFT (1 << (MOD_BITSHIFT + 3)) // Overlapping key codes: -#define KEY_CTRL_BACKTICK 0x00 // clash with ^@ -#define KEY_CTRL_2 0x00 // clash with ^@ -#define KEY_BACKSPACE 0x08 // clash with ^H -#define KEY_TAB 0x09 // clash with ^I -#define KEY_ENTER 0x0D // clash with ^M -#define KEY_ESC 0x1B // clash with ^[ -#define KEY_CTRL_3 0x1B // clash with ^[ -#define KEY_CTRL_4 0x1C // clash with ^\ (backslash) -#define KEY_CTRL_5 0x1D // clash with ^] -#define KEY_CTRL_TILDE 0x1E // clash with ^^ -#define KEY_CTRL_6 0x1E // clash with ^^ -#define KEY_CTRL_7 0x1F // clash with ^_ -#define KEY_CTRL_SLASH 0x1F // clash with ^_ +#define KEY_CTRL_BACKTICK 0x00 /* clash with ^@ */ +#define KEY_CTRL_2 0x00 /* clash with ^@ */ +#define KEY_BACKSPACE 0x08 /* clash with ^H */ +#define KEY_TAB 0x09 /* clash with ^I */ +#define KEY_ENTER 0x0D /* clash with ^M */ +#define KEY_ESC 0x1B /* clash with ^[ */ +#define KEY_CTRL_3 0x1B /* clash with ^[ */ +#define KEY_CTRL_4 0x1C /* clash with ^\ */ +#define KEY_CTRL_5 0x1D /* clash with ^] */ +#define KEY_CTRL_TILDE 0x1E /* clash with ^^ */ +#define KEY_CTRL_6 0x1E /* clash with ^^ */ +#define KEY_CTRL_7 0x1F /* clash with ^_ */ +#define KEY_CTRL_SLASH 0x1F /* clash with ^_ */ #define KEY_SPACE 0x20 #define KEY_BACKSPACE2 0x7F -#define KEY_CTRL_8 0x7F // clash with 'BACKSPACE2' +#define KEY_CTRL_8 0x7F /* clash with 'BACKSPACE2' */ // Terminal escape sequences: #define T_WRAP "7" |
