aboutsummaryrefslogtreecommitdiff
path: root/include/history.h
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2021-10-04 19:22:35 +0000
committerStefan Eßer <se@FreeBSD.org>2021-10-04 19:22:35 +0000
commit5d58a51571721190681c50d4bd3a1f45e6282d72 (patch)
tree75a67b5732666b10aa1bac4ddece227faa5465af /include/history.h
parenta60ef1802a36f2f2a5611564191440ea1c1e2f17 (diff)
vendor/bc: update to version 5.1.0vendor/bc/5.1.0
This version adds options and functions that allow to print numbers in the open interval (-1 .. 1) with or without a leading 0 digit. Additionally, an option has been added to prevent line wrap and allows to print arbitrarily long results on a single line.
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.