You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Foreground color is set to background color if sequence lists background first #17
I came across a weird behavior while using the library - if background color (e.g. 42 - green) is specified before foreground (e.g. 30 - black) the render will contain black text on black background. Weirdly enough this happens only for separated sequences (e.g. ^[[0m^[[42m^[[30m) and not while parsing their short forms (e.g. ^[[42;30m).
I used following example to demonstrate the problem (also attached): Download raw
Activity
ellisgl commentedon Aug 1, 2018
^[[0mis reset, so the colors should back to white-on-black, then convert at the next sequence...fctr commentedon Feb 20, 2020
bug #35 Handle multiple codes in sequences (jacklul)