diff options
author | Amadeusz Sławiński (amade) <amade@asmblr.net> | 2011-01-04 20:31:39 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2015-06-25 14:28:20 +0200 |
commit | 2168239005ee587fdec417c987a632e81f86c80e (patch) | |
tree | d7afd720d39bc8269b7580cc1a78e46b8814631a /src/ansi.h | |
parent | 848af83f50eb8e7a6fea82b489865a9a16ce8221 (diff) | |
download | screen-2168239005ee587fdec417c987a632e81f86c80e.tar.gz |
make most features as always built in from now on
removed #define SIMPLESCREEN and it's #defines
also removed #define DETACH and RXVT_SOC
all of this options are now default
Diffstat (limited to 'src/ansi.h')
-rw-r--r-- | src/ansi.h | 24 |
1 files changed, 1 insertions, 23 deletions
@@ -48,13 +48,11 @@ #define ATYP_S (1<<1) #define ATYP_U (1<<2) -#ifdef COLORS16 /* pseudo attributes */ # define ATTR_BFG 6 /* bright foreground */ # define ATTR_BBG 7 /* bright background */ # define A_BFG (1<<ATTR_BFG) # define A_BBG (1<<ATTR_BBG) -#endif /* * Parser state @@ -119,7 +117,6 @@ enum move_t { #define STATLINE (D_height-1) #endif -#ifdef ENCODINGS #define KANJI ('B' & 037) #define KANJI0212 ('D' & 037) @@ -136,23 +133,15 @@ enum move_t { #define EUC EUC_JP -#endif -#ifdef UTF8 -#undef UTF8 #define UTF8 8 -#endif -#ifdef UTF8 # define UCS_REPL 0xfffd /* character for illegal codes */ # define UCS_REPL_DW 0xff1f /* character for illegal codes */ # define UCS_HIDDEN 0xffff -#endif -#ifdef DW_CHARS # define is_dw_font(f) ((f) && ((f) & 0x60) == 0) -# ifdef UTF8 # define dw_left(ml, x, enc) ((enc == UTF8) ? \ (unsigned char)(ml)->font[(x) + 1] == 0xff && (unsigned char)(ml)->image[(x) + 1] == 0xff : \ ((unsigned char)(ml)->font[x] & 0x1f) != 0 && ((unsigned char)(ml)->font[x] & 0xe0) == 0 \ @@ -161,15 +150,4 @@ enum move_t { (unsigned char)(ml)->font[x] == 0xff && (unsigned char)(ml)->image[x] == 0xff : \ ((unsigned char)(ml)->font[x] & 0xe0) == 0x80 \ ) -# else -# define dw_left(ml, x, enc) ( \ - ((unsigned char)(ml)->font[x] & 0x1f) != 0 && ((unsigned char)(ml)->font[x] & 0xe0) == 0 \ - ) -# define dw_right(ml, x, enc) ( \ - ((unsigned char)(ml)->font[x] & 0xe0) == 0x80 \ - ) -# endif /* UTF8 */ -#else -# define dw_left(ml, x, enc) 0 -# define dw_right(ml, x, enc) 0 -#endif + |