This is a very fine script! Could you please handle reset? ``` # tput sgr0|hexdump -C 00000000 1b 28 42 1b 5b 6d |.(B.[m| ```
Activity
szepeviktor commentedon Jun 1, 2014
And please add this to pre's style to break long lines:
ralphbean commentedon Jun 5, 2014
This would be an easy pull-request. Would you like to be the one to add it?
szepeviktor commentedon Jun 5, 2014
Please handle
tput sgr0: revert back the current schema's color OR tell me how to reset that your script understands.szepeviktor commentedon Jun 5, 2014
http://manpages.ubuntu.com/manpages/hardy/man5/terminfo.5.html
So
\E(Bis "Shift to codeset 0". I do not know what it is.I'd like to just "turn off all attributes" by
tput.ralphbean commentedon Jun 6, 2014
I'll take a look at handling
sgr0when I can. It seems like it would need to close as many</span>tags as had been opened.szepeviktor commentedon Jun 6, 2014
Very dirty.
wookayin commentedon Dec 17, 2017
A 3-year-old bug still not resolved? :(
hartwork commentedon Feb 3, 2022
That was added in 2014 for release 1.0.7 by commit 418bef2 .
hartwork commentedon Feb 3, 2022
I'm unsure about how that^^ sgr0 differs from
\x1b[0m(Wikipedia) semantically (if so). The latter is supported……since 2013 release 0.10.0 commit fce66a6.