diff options
Diffstat (limited to 'include/chc.h')
-rw-r--r-- | include/chc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/chc.h b/include/chc.h index 9305ab0d..416f1193 100644 --- a/include/chc.h +++ b/include/chc.h @@ -19,6 +19,13 @@ #define CHC_PERSONAL 4 /* ¥´ÃÐ */ #define CHC_WATCH_PERSONAL 8 /* Æ[¤H¥´ÃÐ */ +#define CHE_O(c) ((c) >> 3) +#define CHE_P(c) ((c) & 7) +#define RTL(x) (((x) - 3) >> 1) +#define dim(x) (sizeof(x) / sizeof(x[0])) +#define LTR(x) ((x) * 2 + 3) +#define CHE(a, b) ((a) | ((b) << 3)) + #define BLACK_COLOR "\033[1;36m" #define RED_COLOR "\033[1;31m" #define BLACK_REVERSE "\033[1;37;46m" |