aboutsummaryrefslogtreecommitdiff
path: root/include/history.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/history.h')
-rw-r--r--include/history.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/history.h b/include/history.h
index 3a2cf82b7943..8d9c3417d897 100644
--- a/include/history.h
+++ b/include/history.h
@@ -244,7 +244,11 @@ typedef struct BcHistory {
/// The original terminal state.
struct termios orig_termios;
#else // _WIN32
- DWORD orig_console_mode;
+ /// The original input console mode.
+ DWORD orig_in;
+
+ /// The original output console mode.
+ DWORD orig_out;
#endif // _WIN32
/// These next two are here because pahole found a 4 byte hole here.