── /text ─────────────────────────────────────────────────────────────────────────────────────────────────────
 motui · text                                                                                        focus: -
  FOUNDATIONS         ── text ───────────────────────────────────────────────────────────────────────────────░
  overview            Text, Markdown, Diff and Spacer -- the primitives that carry content.                  ░
▌ text                 ── text ──                                                                            ░
  layout              Plain Text is the kernel's simplest component: one logical line per \n, each           ░
  COMPONENTS          word-wrapped to the width its parent hands it. The pane you are reading is a Viewport  ░
  actions             window over one document; the scrollbar on the right maps the part above and below the ░
  forms               fold.                                                                                  ░
  views               one paragraph · word-wrapped to the pane                                               ░
  modals               ── markdown ──                                                                        ░
  SHELL               ### A Markdown block                                                                   ░
  shell                                                                                                      ░
  themes              Prose with bold, italic, inline code and a link -- wrapped to the pane, never past it. ░
  streaming                                                                                                  ░
  notes               1. numbered items                                                                      ░
                      2. a second one                                                                        ░
                                                                                                             ░
                      │ A quote, for the record.                                                             ░
                                                                                                             ░
                      ```python                                                                              ░
                      def hello(name: str) -> str:                                                           ░
                          return f"hello {name}"                                                             ░
                      ```                                                                                    ░
                                                                                                             ░
                      ┌────────┬─────────┐                                                                   ░
                      │ column │ meaning │                                                                   ░
                      ├────────┼─────────┤                                                                   ░
                      │ rows   │       2 │                                                                   ░
                      └────────┴─────────┘                                                                   ░
                                                                                                             ░
                      ☐ click a box -- the host flips the source                                             ░
                      ☑ and this one is already done                                                         ░
                      prose · fence · table · quote · two task boxes                                         ░
                       ── divider ──                                                                         ░
                      ───────────────────────────────────────────────────────────────────────────────────────░
                      ── a labelled rule ────────────────────────────────────────────────────────────────────░
                      plain · labelled                                                                       ░
                       ── diff ──                                                                            ░
                      @@ -1,6 +1,6 @@                                                                        ░
                       1  def measure(text):                                                                 ░
                       2 -    """Display width of one row, in columns."""                                    ░
                       3 -    return wcswidth(text)                                                          ░
                       2 +    """Display width of one row, cluster by cluster."""                            ░
                       3 +    return sum(width for _start, _stop, width in cell_spans(text))                 ░
                       4                                                                                     ░
                       5                                                                                     ░
                       6  def split(text):                                                                   ░
                      … 2 lines                                                                              ░
                      @@ -9,5 +9,5 @@                                                                        ░
                       9                                                                                     ░
                      10                                                                                     ░
                      11  def fit(row, width):                                                               ░
                      12 -    """Truncate a row to the width, marking the cut."""                            ░
                      12 +    """Truncate a row to the width, marking the cut with an ellipsis."""           ░
                      13      return row.fit(width)                                                          ░
                      numbered · elisions counted · three lines of context                                   ░
                       ── spacer ──                                                                          ░
                                                                                                             ░
                                                                                                             ░
                      2 blank rows between the blocks                                                        ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
click a task box flips · c-n / c-p pages · tab focus · c-f find · q quit
