Cli.tone_step: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 947-953 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=947&end_line=953 import Base def tone_step(run: EmojiRun, code: U32) -> WidthStep: match run: case EmojiNone{}: WidthStep{2n, EmojiNone{}} case EmojiBase{base, narrow, join}: tone_on(unicode_takes_tone(base), narrow, join, code) case EmojiJoiner{}: WidthStep{2n, EmojiNone{}} case EmojiJoined{base}: tone_on_joined(unicode_takes_tone(base), code) Uses (6): 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=tone_on https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=tone_on_joined https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=unicode_takes_tone