Cli.rows_lines: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5566-5572 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5566&end_line=5572 import Base def rows_lines(rows: List<&2, Row>, +shorted: Bool, +w: Nat, +k: Nat, +c: Nat) -> List<&2, Segment>: match rows: case Nil{}: Nil{} case row <> tail: plain("\n") <> List.append(&2, Segment, row_lines(row, shorted, w, k, c), rows_lines(tail, shorted, w, k, c)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Row https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Segment https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=plain https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=row_lines