chickadee » chibi-term » negative

negative strprocedure

If ANSI escapes are enabled, return a string consisting of the string str with a prefix that selects negative style (text in the background color and background in the text color) and a suffix that selects positive style (text in the text color and background in the background color).

If ANSI escapes are not enabled, return str.