Use api.sh within query.sh

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2023-08-13 22:00:44 +02:00
parent 2227a2c569
commit 8e0a40e717
2 changed files with 104 additions and 223 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Determine if terminal is capable of showing colors
if ([[ -t 1 ]] && [[ $(tput colors) -ge 8 ]]) || [[ "${WEBCALL}" ]]; then
if ([ -t 1 ] && [ $(tput colors) -ge 8 ]) || [ "${WEBCALL}" ]; then
# Bold and underline may not show up on all clients
# If something MUST be emphasized, use both
COL_BOLD=''