Revert "Moved declaration of topline state to wintty.h."

This reverts commit 7bb41c797f.
This commit is contained in:
Bart House
2019-07-14 21:28:03 -07:00
parent 733e760638
commit 05d77d91b8
2 changed files with 6 additions and 6 deletions

View File

@@ -455,6 +455,12 @@ struct early_opt {
boolean valallowed;
};
/* topline states */
#define TOPLINE_EMPTY 0 /* empty */
#define TOPLINE_NEED_MORE 1 /* non-empty, need --More-- */
#define TOPLINE_NON_EMPTY 2 /* non-empty, no --More-- required */
#define TOPLINE_SPECIAL_PROMPT 3 /* special prompt state */
#undef E
#endif /* DECL_H */

View File

@@ -50,12 +50,6 @@ struct WinDesc {
#define WIN_STOP 1 /* for NHW_MESSAGE; stops output */
#define WIN_LOCKHISTORY 2 /* for NHW_MESSAGE; suppress history updates */
/* topline states */
#define TOPLINE_EMPTY 0 /* empty */
#define TOPLINE_NEED_MORE 1 /* non-empty, need --More-- */
#define TOPLINE_NON_EMPTY 2 /* non-empty, no --More-- required */
#define TOPLINE_SPECIAL_PROMPT 3 /* special prompt state */
/* descriptor for tty-based displays -- all the per-display data */
struct DisplayDesc {
short rows, cols; /* width and height of tty display */