2 static uint16_t *unimap
= NULL
; // 0 or 65535 items; 127: special; high bit set: use alt(gfx) mode; 0: empty
4 static char **opt_cmd
= NULL
;
5 static char *opt_title
= NULL
;
6 static char *opt_embed
= NULL
;
7 static char *opt_class
= NULL
;
8 static char *opt_term
= NULL
;
9 static char *opt_fontnorm
= NULL
;
10 static char *opt_fontbold
= NULL
;
11 static char *opt_fonttab
= NULL
;
12 static char *opt_shell
= NULL
;
13 static char *opt_colornames
[512];
14 static int opt_term_locked
= 0;
15 static int opt_doubleclick_timeout
= DOUBLECLICK_TIMEOUT
;
16 static int opt_tripleclick_timeout
= TRIPLECLICK_TIMEOUT
;
17 static int opt_tabsize
= TAB
;
18 static int defaultFG
= DEFAULT_FG
;
19 static int defaultBG
= DEFAULT_BG
;
20 static int defaultCursorFG
= 0;
21 static int defaultCursorBG
= DEFAULT_CS
;
22 static int defaultCursorInactiveFG
= 0;
23 static int defaultCursorInactiveBG
= DEFAULT_UCS
;
24 static int defaultBoldFG
= -1;
25 static int defaultUnderlineFG
= -1;
26 static int normalTabFG
= 258;
27 static int normalTabBG
= 257;
28 static int activeTabFG
= 258;
29 static int activeTabBG
= 0;
30 static int opt_maxhistory
= 512;
31 static int opt_ptrblank
= 2000; // delay; 0: never
32 static int opt_tabcount
= 6;
33 static int opt_tabposition
= 0; // 0: bottom; 1: top
34 static int opt_drawtimeout
= DRAW_TIMEOUT
;
35 static int opt_disabletabs
= 0;
36 static int opt_audiblebell
= 1;
37 static int opt_urgentbell
= 1;
38 static int opt_cursorBlink
= 0;
39 static int opt_cursorBlinkInactive
= 0;
40 static int opt_drawunderline
= 1;
41 static int opt_ignoreclose
= 0;
42 static int opt_maxdrawtimeout
= 1500;
43 static int opt_swapdrawtimeout
= 200;
44 static int opt_fastredraw
= 0;
45 static int opt_tabellipsis
= 1; // center
46 static int ptrBlanked
= 0;
47 static K8TTimeMSec ptrLastMove
= 0;
48 static int globalBW
= 0;
51 static K8Term
**term_array
= NULL
;
52 static int term_count
= 0;
53 static int term_array_size
= 0;
54 static K8Term
*curterm
; // current terminal
55 static int termidx
; // current terminal index; DON'T RELAY ON IT!
56 static int updateTabBar
;
57 static K8TTimeMSec lastDrawTime
= 0;
58 static char *lastSelStr
= NULL
;
59 //static int lastSelLength = 0;
61 static int firstVisibleTab
= 0;
63 static int exitcode
= 0;
64 static int closeRequestComes
= 0;
69 static Atom XA_VT_SELECTION
;
70 static Atom XA_CLIPBOARD
;
72 static Atom XA_TARGETS
;
73 static Atom XA_NETWM_NAME
;
74 static Atom XA_WM_DELETE_WINDOW
;