diff options
author | Ron Yorston <rmy@pobox.com> | 2018-04-03 11:22:38 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-04-03 12:29:01 +0100 |
commit | dcfb820bb9c889ec186c9b3ad28d53bd8626363e (patch) | |
tree | 3934f43be6c8bc87a75ee64228995d6f9b5d0652 | |
parent | 32f8569a99b948e810266608dd6e3bf9de611df5 (diff) | |
download | busybox-w32-dcfb820bb9c889ec186c9b3ad28d53bd8626363e.tar.gz busybox-w32-dcfb820bb9c889ec186c9b3ad28d53bd8626363e.tar.bz2 busybox-w32-dcfb820bb9c889ec186c9b3ad28d53bd8626363e.zip |
ttysize: enable in default configuration
Previously
$ HEIGHT=$(ttysize h)
would always return a default height of 24 because stdout wasn't
connected to a console. Now that get_terminal_width_height also
checks stderr the above works.
-rw-r--r-- | configs/mingw32_defconfig | 2 | ||||
-rw-r--r-- | configs/mingw64_defconfig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/mingw32_defconfig b/configs/mingw32_defconfig index 90f7f8345..6d1d6cfe2 100644 --- a/configs/mingw32_defconfig +++ b/configs/mingw32_defconfig | |||
@@ -802,7 +802,7 @@ CONFIG_MAN=y | |||
802 | # CONFIG_SETSERIAL is not set | 802 | # CONFIG_SETSERIAL is not set |
803 | CONFIG_STRINGS=y | 803 | CONFIG_STRINGS=y |
804 | # CONFIG_TIME is not set | 804 | # CONFIG_TIME is not set |
805 | # CONFIG_TTYSIZE is not set | 805 | CONFIG_TTYSIZE=y |
806 | # CONFIG_UBIRENAME is not set | 806 | # CONFIG_UBIRENAME is not set |
807 | # CONFIG_UBIATTACH is not set | 807 | # CONFIG_UBIATTACH is not set |
808 | # CONFIG_UBIDETACH is not set | 808 | # CONFIG_UBIDETACH is not set |
diff --git a/configs/mingw64_defconfig b/configs/mingw64_defconfig index 644f0aebf..79d76e61a 100644 --- a/configs/mingw64_defconfig +++ b/configs/mingw64_defconfig | |||
@@ -802,7 +802,7 @@ CONFIG_MAN=y | |||
802 | # CONFIG_SETSERIAL is not set | 802 | # CONFIG_SETSERIAL is not set |
803 | CONFIG_STRINGS=y | 803 | CONFIG_STRINGS=y |
804 | # CONFIG_TIME is not set | 804 | # CONFIG_TIME is not set |
805 | # CONFIG_TTYSIZE is not set | 805 | CONFIG_TTYSIZE=y |
806 | # CONFIG_UBIRENAME is not set | 806 | # CONFIG_UBIRENAME is not set |
807 | # CONFIG_UBIATTACH is not set | 807 | # CONFIG_UBIATTACH is not set |
808 | # CONFIG_UBIDETACH is not set | 808 | # CONFIG_UBIDETACH is not set |