Cli.picto_step: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 924-931 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=924&end_line=931 import Base # A pictograph after a ZWJ joins the sequence; any other starts an emoji. def picto_step(run: EmojiRun, +code: U32) -> WidthStep: match run: case EmojiNone{}: picto_alone(unicode_is_wide(code), code) case EmojiBase{base, narrow, join}: picto_alone(unicode_is_wide(code), code) case EmojiJoiner{}: WidthStep{0n, EmojiJoined{code}} case EmojiJoined{base}: picto_alone(unicode_is_wide(code), code) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=EmojiRun https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=WidthStep https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=picto_alone https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=unicode_is_wide