(styles: AnsiCode[])
| 297 | ]) |
| 298 | |
| 299 | function hasVisibleSpaceEffect(styles: AnsiCode[]): boolean { |
| 300 | for (const style of styles) { |
| 301 | if (VISIBLE_ON_SPACE.has(style.endCode)) return true |
| 302 | } |
| 303 | return false |
| 304 | } |
| 305 | |
| 306 | /** |
| 307 | * Cell width classification for handling double-wide characters (CJK, emoji, |