MCPcopy Create free account
hub / github.com/Noumena-Network/code / hasVisibleSpaceEffect

Function hasVisibleSpaceEffect

src/ink/screen.ts:299–304  ·  view source on GitHub ↗
(styles: AnsiCode[])

Source from the content-addressed store, hash-verified

297])
298
299function 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,

Callers 1

internMethod · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected