From 7bb41c797fb2491dc39102ddd4f1d31bd74c10c8 Mon Sep 17 00:00:00 2001 From: Bart House Date: Thu, 11 Jul 2019 16:34:25 -0700 Subject: [PATCH] Moved declaration of topline state to wintty.h. --- include/decl.h | 6 ------ include/wintty.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/decl.h b/include/decl.h index 6c0f9721c..5ebaa326e 100644 --- a/include/decl.h +++ b/include/decl.h @@ -455,12 +455,6 @@ 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 */ diff --git a/include/wintty.h b/include/wintty.h index 6994fc93f..e6388ec0d 100644 --- a/include/wintty.h +++ b/include/wintty.h @@ -50,6 +50,12 @@ 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 */