From b5b199ee95e5fc84467139c5c95c3a91e053038a Mon Sep 17 00:00:00 2001 From: "(major) john (major)" Date: Tue, 18 Oct 2022 21:15:09 -0700 Subject: [PATCH] Update run_spectrum_saturation_cycler.py --- bin/run_spectrum_saturation_cycler.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/run_spectrum_saturation_cycler.py b/bin/run_spectrum_saturation_cycler.py index d1faadb..00348a3 100755 --- a/bin/run_spectrum_saturation_cycler.py +++ b/bin/run_spectrum_saturation_cycler.py @@ -20,7 +20,11 @@ # But until is needs more features, or stops working, here it is :-) intro_cmd = """ -export COL=`tput color` +export COL=`tput colors` || echo COLORSfail +if [[ "$COL" == "" ]]; then + export COL=16 +fi; + echo $COL > num_cols colr -c 0 " ╦ ╦╔╗ ╔═╗ " "ff3100" "#6400ff";