Terminal borders that don't cost a cell

A developer is introducing a new terminal protocol that allows for thin-line cell borders in terminal user interfaces (TUIs). This approach avoids the space-consuming limitations of traditional Unicode box-drawing characters, offering a cleaner design for terminal applications.
Why it matters
This innovation improves the visual fidelity and layout efficiency of command-line tools, which are essential for software developers and system administrators.
This post (and the code behind it) was written with a lot of help from AI. I'm not going to apologize for that. If that bothers you, feel free to close the tab.
I maintain Ratatui , so I see a lot of the TUIs people build. Many of them end up looking fairly same-ish: plain boxes on a boring background, missing a bunch of the things that good design in other mediums brings us.
Borders are part of the problem. They have to take up space, so they become part of the panels people want to build. One option is to drop them and just use color, but borders are really nice for delineating and surrounding things. There are lots of ways to sort of get borders in a terminal, but none that are 100% good. I've drawn enough ┌──┐ by hand to have opinions about this.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in