mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
4f11e4b665
Moved subdirs: * filehighlight * mcconfig * search * skin * tty Signed-off-by: Slava Zanko <slavazanko@gmail.com>
34 lines
814 B
C
34 lines
814 B
C
|
|
#ifndef MC_TTY_SLANG_H
|
|
#define MC_TTY_SLANG_H
|
|
|
|
#ifdef HAVE_SLANG_SLANG_H
|
|
# include <slang/slang.h>
|
|
#else
|
|
# include <slang.h>
|
|
#endif /* HAVE_SLANG_SLANG_H */
|
|
|
|
enum {
|
|
KEY_BACKSPACE = 400,
|
|
KEY_END, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT,
|
|
KEY_HOME, KEY_A1, KEY_C1, KEY_NPAGE, KEY_PPAGE, KEY_IC,
|
|
KEY_ENTER, KEY_DC, KEY_SCANCEL, KEY_BTAB
|
|
};
|
|
|
|
#define KEY_F(x) (1000 + x)
|
|
|
|
#define ACS_VLINE SLSMG_VLINE_CHAR
|
|
#define ACS_HLINE SLSMG_HLINE_CHAR
|
|
#define ACS_LTEE SLSMG_LTEE_CHAR
|
|
#define ACS_RTEE SLSMG_RTEE_CHAR
|
|
#define ACS_ULCORNER SLSMG_ULCORN_CHAR
|
|
#define ACS_LLCORNER SLSMG_LLCORN_CHAR
|
|
#define ACS_URCORNER SLSMG_URCORN_CHAR
|
|
#define ACS_LRCORNER SLSMG_LRCORN_CHAR
|
|
#define ACS_PLUS SLSMG_PLUS_CHAR
|
|
|
|
#define COLS SLtt_Screen_Cols
|
|
#define LINES SLtt_Screen_Rows
|
|
|
|
#endif /* MC_TTY_SLANG_H */
|