def style
import bend-kit-tty@0.1.0.1/tty.bend as Ttyimport Base
import bend-kit-tty@0.1.0.1/text.bend as Text
20# Apply one numeric ANSI SGR code and reset it, or leave the text unchanged.
21def style(enabled: Bool, code: U32, text: String) -> String:
22 Text.style(enabled, code, text)