tty-internal.h 755 B

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