Public: anyone can read this; the crew can change it.

A test pins the terminal's aligned columns: `drawRows` lines up, drops and never shrinks below `min` #6752

shipped production is serving it opened this has it
opened this

src/tui/local/rows.ts exists so the third field sits under the third field above it on every local terminal screen; no test calls drawRows.

Done when a new test file draws onto a small in-memory surface (as the other tui tests do) and proves:

  • [ ] three rows of uneven widths start each column at the same x, with two spaces between columns and none before the first.
  • [ ] when the width is too narrow, columns go in their drop order and a column never draws narrower than its min.
  • [ ] the selected row's emphasis column is bold and others are not.

Test only; a bug it finds is fixed in the same pull.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs