aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiles Bader2002-05-26 07:22:22 +0000
committerMiles Bader2002-05-26 07:22:22 +0000
commita08166614a8cdd21b14f42c3b2f797d746b9462f (patch)
tree8f7050a61c4e3e56a42cb78c5c40f6cba1ee909e /src
parent34a63289a69e36745590deb3ae1d6945a53a861c (diff)
downloademacs-a08166614a8cdd21b14f42c3b2f797d746b9462f.tar.gz
emacs-a08166614a8cdd21b14f42c3b2f797d746b9462f.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h15
1 files changed, 14 insertions, 1 deletions
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;
2201 2201
2202 2202
2203/*********************************************************************** 2203/***********************************************************************
2204 Function Prototypes 2204 Terminal Capabilities
2205 ***********************************************************************/
2206
2207#define TTY_CAP_INVERSE 0x01
2208#define TTY_CAP_UNDERLINE 0x02
2209#define TTY_CAP_BOLD 0x04
2210#define TTY_CAP_DIM 0x08
2211#define TTY_CAP_BLINK 0x10
2212#define TTY_CAP_ALT_CHARSET 0x20
2213
2214
2215/***********************************************************************
2216 Function Prototypes
2205 ***********************************************************************/ 2217 ***********************************************************************/
2206 2218
2207/* Defined in xdisp.c */ 2219/* Defined in xdisp.c */
@@ -2443,6 +2455,7 @@ extern void tty_setup_colors P_ ((int));
2443extern void term_init P_ ((char *)); 2455extern void term_init P_ ((char *));
2444extern void fatal P_ ((/* char *, ... */)); 2456extern void fatal P_ ((/* char *, ... */));
2445void cursor_to P_ ((int, int)); 2457void cursor_to P_ ((int, int));
2458extern int tty_capable_p P_ ((struct frame *, unsigned, unsigned long, unsigned long));
2446 2459
2447/* Defined in scroll.c */ 2460/* Defined in scroll.c */
2448 2461