| Terminal borders that don't cost a cell(joshka.net) | |
| 421 points by vinhnx 16 days ago | 217 comments | |
tl;dr: The Ratatui maintainer proposes a new terminal protocol that draws thin borders on cell edges rather than consuming whole cells with Unicode box-drawing characters, freeing up rows/columns and enabling cleaner widgets like underlined text fields and single-row buttons. Borders are stored as a cell attribute (a 16-bit ID) with per-edge color, width, and style, negotiated via a DCS sequence with graceful fallback. A working prototype exists as a Ghostty patch with Ratatui demos, and the author is seeking feedback from terminal and TUI developers. | |
HN Discussion:
| |