Move logging.[ch] into library
[midnight-commander.git] / lib / tty / tty-slang.h
blob086b3ab43064c07dbbf29e9db82d6deee9d3c629
2 #ifndef MC_TTY_SLANG_H
3 #define MC_TTY_SLANG_H
5 #ifdef HAVE_SLANG_SLANG_H
6 # include <slang/slang.h>
7 #else
8 # include <slang.h>
9 #endif /* HAVE_SLANG_SLANG_H */
11 enum {
12 KEY_BACKSPACE = 400,
13 KEY_END, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT,
14 KEY_HOME, KEY_A1, KEY_C1, KEY_NPAGE, KEY_PPAGE, KEY_IC,
15 KEY_ENTER, KEY_DC, KEY_SCANCEL, KEY_BTAB
18 #define KEY_F(x) (1000 + x)
20 #define ACS_VLINE SLSMG_VLINE_CHAR
21 #define ACS_HLINE SLSMG_HLINE_CHAR
22 #define ACS_LTEE SLSMG_LTEE_CHAR
23 #define ACS_RTEE SLSMG_RTEE_CHAR
24 #define ACS_ULCORNER SLSMG_ULCORN_CHAR
25 #define ACS_LLCORNER SLSMG_LLCORN_CHAR
26 #define ACS_URCORNER SLSMG_URCORN_CHAR
27 #define ACS_LRCORNER SLSMG_LRCORN_CHAR
28 #define ACS_PLUS SLSMG_PLUS_CHAR
30 #define COLS SLtt_Screen_Cols
31 #define LINES SLtt_Screen_Rows
33 #endif /* MC_TTY_SLANG_H */