summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/curses.priv.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-02 06:40:24 +0000
committerache <ache@FreeBSD.org>1994-12-02 06:40:24 +0000
commitda3bc85e1374c51c5dced6baacf60288a5a3ea40 (patch)
tree0beef683196d6d2f76165d3756c20ac09c0ee20b /lib/libncurses/curses.priv.h
parentd856190a55e1ac4bbc1e389083c70c3a9c37746e (diff)
downloadFreeBSD-src-da3bc85e1374c51c5dced6baacf60288a5a3ea40.zip
FreeBSD-src-da3bc85e1374c51c5dced6baacf60288a5a3ea40.tar.gz
Upgrade to version 1.8.6
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 da8bf05..4652ff5 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 */
OpenPOWER on IntegriCloud