From dcfb820bb9c889ec186c9b3ad28d53bd8626363e Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 3 Apr 2018 11:22:38 +0100 Subject: 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. --- configs/mingw32_defconfig | 2 +- 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 # CONFIG_SETSERIAL is not set CONFIG_STRINGS=y # CONFIG_TIME is not set -# CONFIG_TTYSIZE is not set +CONFIG_TTYSIZE=y # CONFIG_UBIRENAME is not set # CONFIG_UBIATTACH is not set # 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 # CONFIG_SETSERIAL is not set CONFIG_STRINGS=y # CONFIG_TIME is not set -# CONFIG_TTYSIZE is not set +CONFIG_TTYSIZE=y # CONFIG_UBIRENAME is not set # CONFIG_UBIATTACH is not set # CONFIG_UBIDETACH is not set -- cgit v1.2.3-55-g6feb