From a5b7be2e3acec12e6c34261d555ceeed9fcbeb0d Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 7 Jan 2014 22:49:51 -0600 Subject: [PATCH] Added -Txterm-color to tput invocations that didn't have it. --- test/format/test-curses | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/format/test-curses b/test/format/test-curses index bd38efba..f285457c 100755 --- a/test/format/test-curses +++ b/test/format/test-curses @@ -22,12 +22,12 @@ require_prog tput # back to termcap capability codes. Its tigetstr(3X) does handle # them, so the nmh curses support, including etc/scan.curses, works # just fine. -if tput sgr0 >/dev/null 2>&1; then +if tput -Txterm-color sgr0 >/dev/null 2>&1; then standout_code=smso bold_code=bold reset_code=sgr0 foreground_code=setaf -elif tput me >/dev/null 2>&1; then +elif tput-Txterm-color me >/dev/null 2>&1; then standout_code=so bold_code=md reset_code=me -- 2.56.0