Say.tty.pick.go: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/share/say.bend as Say Lines 106-112 of ezx@1.11.0.0/src/share/say.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/share/say.bend&start_line=106&end_line=112 import Base # stderr's terminal when it is one, otherwise stdout's, otherwise none def tty.pick.go(on: Bool, +err: String, +out: String) -> String: match on: case True{}: err case False{}: tty.out(tty.at(out), out) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/say.bend&name=tty.at https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/say.bend&name=tty.out