(styles: AnsiCode[])
| 269 | ]) |
| 270 | |
| 271 | function hasVisibleSpaceEffect(styles: AnsiCode[]): boolean { |
| 272 | for (const style of styles) { |
| 273 | if (VISIBLE_ON_SPACE.has(style.endCode)) return true |
| 274 | } |
| 275 | return false |
| 276 | } |
| 277 | |
| 278 | /** |
| 279 | * Cell width classification for handling double-wide characters (CJK, emoji, |