summaryrefslogtreecommitdiff
path: root/lib/libncurses/curses.priv.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-12-02 06:40:24 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-12-02 06:40:24 +0000
commit795172f7a504475a68702297052619a5c90dbfbf (patch)
tree0beef683196d6d2f76165d3756c20ac09c0ee20b /lib/libncurses/curses.priv.h
parent766ee5695e87f2a4f5c3d4fb858e68e3369ac401 (diff)
Notes
Diffstat (limited to 'lib/libncurses/curses.priv.h')
-rw-r--r--lib/libncurses/curses.priv.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/lib/libncurses/curses.priv.h b/lib/libncurses/curses.priv.h
index da8bf0576a8c..4652ff502b3d 100644
--- a/lib/libncurses/curses.priv.h
+++ b/lib/libncurses/curses.priv.h
@@ -24,7 +24,7 @@ typedef struct sigaction sigaction_t;
#include "SigAction.h"
#endif
-#include <ncurses.h>
+#include "curses.h"
#define min(a,b) ((a) > (b) ? (b) : (a))
#define max(a,b) ((a) < (b) ? (b) : (a))
@@ -34,17 +34,19 @@ typedef struct sigaction sigaction_t;
#define CHANGED -1
-extern int _coloron;
-extern int _isendwin;
+extern WINDOW *newscr;
#ifdef TRACE
-#define T(a) if (_tracing) _tracef a
+#define T(a) if (_tracing & TRACE_ORDINARY) _tracef a
+#define TR(n, a) if (_tracing & (n)) _tracef a
extern int _tracing;
+extern char *visbuf(const char *);
#else
-#define T(a)
+#define T(a)
+#define TR(n, a)
#endif
-extern int _outc(char);
+extern int _outch(char);
extern void init_acs(void);
extern void tstp(int);
extern WINDOW *makenew(int, int, int, int);
@@ -79,6 +81,7 @@ typedef struct {
struct screen {
FILE *_ifp; /* input file ptr for this terminal */
FILE *_ofp; /* output file ptr for this terminal */
+ int _checkfd;
#ifdef MYTINFO
struct _terminal *_term;
#else
@@ -86,11 +89,16 @@ struct screen {
#endif
WINDOW *_curscr; /* windows specific to a given terminal */
WINDOW *_newscr;
+ WINDOW *_stdscr;
struct try *_keytry; /* "Try" for use with keypad mode */
unsigned int _fifo[FIFO_SIZE]; /* Buffer for pushed back characters */
- signed char _fifohead,
+ signed char _fifohead,
_fifotail,
_fifopeek;
+ bool _endwin;
+ chtype _current_attr;
+ bool _coloron;
+ int _cursor; /* visibility of the cursor */
int _cursrow; /* Row and column of physical cursor */
int _curscol;
bool _nl; /* True if NL -> CR/NL is on */