Reusable fixed-width table primitives for TUI dialogs/pickers.
Reusable fixed-width table primitives for TUI dialogs/pickers.
(boxed-border-line widths kind)Render top/middle/bottom border for boxed-row-line.
Render top/middle/bottom border for `boxed-row-line`.
(boxed-row-line widths cells aligns)Render fixed-width cells with outer vertical borders. Use inside dialog bodies when table should visually read as nested dialog chrome.
Render fixed-width cells with outer vertical borders. Use inside dialog bodies when table should visually read as nested dialog chrome.
(column-widths columns table-w)Return concrete widths for columns inside total rendered table-w.
Column spec accepts :width for fixed cells and :flex for proportional
leftover. Total row width includes outer spaces and │ separators.
Return concrete widths for `columns` inside total rendered `table-w`. Column spec accepts `:width` for fixed cells and `:flex` for proportional leftover. Total row width includes outer spaces and ` │ ` separators.
(middle-ellipsize s max-w)Truncate s in the middle when it exceeds max-w display columns,
keeping the filename (after last /) fully visible. Falls back to
right-ellipsize when there is no / or the column is too narrow.
Truncate `s` in the middle when it exceeds `max-w` display columns, keeping the filename (after last /) fully visible. Falls back to right-ellipsize when there is no `/` or the column is too narrow.
(row-line widths cells)(row-line widths cells aligns)(row-line columns row table-w opts)Render cells to one fixed-width table row. Legacy arity accepts explicit
widths; column arity accepts specs + row map. opts supports :sep.
Render `cells` to one fixed-width table row. Legacy arity accepts explicit widths; column arity accepts specs + row map. `opts` supports `:sep`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |