mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-07 09:10:57 +01:00
Disable ANSI codes for italic when TERM == screen
... otherwise it is being printed in reverse, see #1928. Same as #1946 but for the 3.0 branch.
This commit is contained in:
parent
5d4945819a
commit
13303753ff
@ -597,7 +597,9 @@ pr_bold() { tm_bold "$1"; [[ "$COLOR" -ne 0 ]] && html_out "<span style=\"
|
|||||||
prln_bold() { pr_bold "$1" ; outln; }
|
prln_bold() { pr_bold "$1" ; outln; }
|
||||||
|
|
||||||
NO_ITALICS=false
|
NO_ITALICS=false
|
||||||
if [[ $SYSTEM == OpenBSD ]]; then
|
if [[ $TERM == screen ]]; then
|
||||||
|
NO_ITALICS=true
|
||||||
|
elif [[ $SYSTEM == OpenBSD ]]; then
|
||||||
NO_ITALICS=true
|
NO_ITALICS=true
|
||||||
elif [[ $SYSTEM == FreeBSD ]]; then
|
elif [[ $SYSTEM == FreeBSD ]]; then
|
||||||
if [[ ${SYSTEMREV%\.*} -le 9 ]]; then
|
if [[ ${SYSTEMREV%\.*} -le 9 ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user