Recover styles from an encoded ID. Strips the bit-0 flag via >>> 1.
(id: number)
| 142 | |
| 143 | /** Recover styles from an encoded ID. Strips the bit-0 flag via >>> 1. */ |
| 144 | get(id: number): AnsiCode[] { |
| 145 | return this.styles[id >>> 1] ?? [] |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * Returns the pre-serialized ANSI string to transition from one style to |
no outgoing calls
no test coverage detected