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
The control sequence must start with ESC [ rather than a single CSI character.
The line-wrapping logic does not try to understand any parameter values within the SGR control sequence, except it understands that SGR with no parameters resets to default.
So if the text were "a b\x1B[31;42mc d\x1B[37me f\x1B[mg h", and it had to be wrapped at each space character, then the resulting lines would be "a", "b\x1B[31;42mc\x1B[m", "\x1B[31;42md\x1B[37me\x1B[m", "\x1B[31;42m\x1B[37mf\x1B[mg", and "h". Although the parameter 37 fully overrides the preceding 31, the line wrapper would not understand that and it would keep both of them.
It would be nice to support colors in the help engine.
Similar problem as #1973, but this time taking in account that an escape sequence does not use any space in the terminal
The text was updated successfully, but these errors were encountered: