From a08166614a8cdd21b14f42c3b2f797d746b9462f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 26 May 2002 07:22:22 +0000 Subject: [PATCH] (tty_capable_p): New function. (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. --- src/dispextern.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/dispextern.h b/src/dispextern.h index e921e976238..b27ad5f8a09 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -2201,7 +2201,19 @@ extern EMACS_INT tool_bar_button_relief; /*********************************************************************** - Function Prototypes + Terminal Capabilities + ***********************************************************************/ + +#define TTY_CAP_INVERSE 0x01 +#define TTY_CAP_UNDERLINE 0x02 +#define TTY_CAP_BOLD 0x04 +#define TTY_CAP_DIM 0x08 +#define TTY_CAP_BLINK 0x10 +#define TTY_CAP_ALT_CHARSET 0x20 + + +/*********************************************************************** + Function Prototypes ***********************************************************************/ /* Defined in xdisp.c */ @@ -2443,6 +2455,7 @@ extern void tty_setup_colors P_ ((int)); extern void term_init P_ ((char *)); extern void fatal P_ ((/* char *, ... */)); void cursor_to P_ ((int, int)); +extern int tty_capable_p P_ ((struct frame *, unsigned, unsigned long, unsigned long)); /* Defined in scroll.c */ -- 2.39.5