Ticket #1926: Ctrl-\ key behaviour in NCurses-based MC.
[midnight-commander/osp/fridri1.git] / lib / tty / tty-internal.h
blobffd6bfc2184a964378b5e48cf7fd8fcdd269322c
2 /** \file tty-internal.h
3 * \brief Header: internal suff of the terminal controlling library
4 */
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
14 #else
15 # ifdef _POSIX_VDISABLE
16 # define NULL_VALUE _POSIX_VDISABLE
17 # else
18 # define NULL_VALUE 255
19 # endif
20 #endif
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 */