2 /** \file tty-internal.h
3 * \brief Header: internal suff of the terminal controlling library
6 #ifndef MC_TTY_INTERNAL_H
7 #define MC_TTY_INTERNAL_H
9 #include "lib/global.h" /* include <glib.h> */
11 /* Taken from S-Lang's slutty.c */
12 #ifdef ultrix /* Ultrix gets _POSIX_VDISABLE wrong! */
13 # define NULL_VALUE -1
15 # ifdef _POSIX_VDISABLE
16 # define NULL_VALUE _POSIX_VDISABLE
18 # define NULL_VALUE 255
22 /* If true lines are shown by spaces */
23 extern gboolean slow_tty
;
25 /* If true use +, -, | for line drawing */
26 extern gboolean ugly_line_drawing
;
28 /* The mouse is currently: TRUE - enabled, FALSE - disabled */
29 extern gboolean mouse_enabled
;
31 char *mc_tty_normalize_from_utf8 (const char *);
33 #endif /* MC_TTY_INTERNAL_H */