Merge pull request #4645 from rdwebdesign/color_debug_web

Generate colorful debug logs to web interface
pull/4652/head
Adam Warner 2 years ago committed by GitHub
commit 0631cb4984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
# Determine if terminal is capable of showing colors
if [[ -t 1 ]] && [[ $(tput colors) -ge 8 ]]; 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=''

Loading…
Cancel
Save