← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

New Terminal Protocol for Cell Borders Proposed to Improve TUI Design

🔄 Updated 7d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • New protocol draws borders on cell edges, not within cells.
  • Borders do not consume rows or columns.
  • Improves TUI design and visual density.
  • Implemented in Ghostty and demonstrated with Ratatui.

Addressing TUI Design Limitations

Many Terminal User Interfaces (TUIs) often appear visually similar due to limitations in how borders are rendered. Traditional methods, primarily using Unicode Box Drawing characters, require borders to occupy entire rows and columns, which reduces the available space for content and can lead to less dynamic designs. This constraint often forces developers to compromise on visual aesthetics or content display.

Introducing Cell-Edge Borders

A new terminal protocol is under development that aims to overcome these limitations by drawing thin lines directly on the edges of terminal cells. This method allows borders to be displayed without consuming any additional row or column space, meaning content can extend right up to the border. This change provides more screen real estate for information and allows for more compact and refined layouts.

Practical Implementations and Benefits

The protocol has been implemented as a patch for the Ghostty terminal emulator, building on an earlier version in Rio. Demonstrations using Ratatui applications show how this technology can be applied. Key benefits include the ability to create panes and panels that do not lose space to borders, menus and popups that visually sit on top of other content, and widgets like text fields and buttons that can have lines directly adjacent to their text. This results in a cleaner and more integrated appearance for TUI elements.

For example, in applications using this new protocol, tab labels can sit directly on the top edge of a pane, and text fields can have underlines immediately below the text. In contrast, with traditional box-drawing characters, these elements would require their own dedicated row or column, leading to a less efficient use of space and a different visual presentation.

Call for Feedback

The developer is seeking feedback from terminal and TUI authors on this new protocol. The goal is to refine the approach and potentially encourage broader adoption, which could lead to more sophisticated and visually appealing terminal applications.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 21

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

A new terminal protocol is being developed that draws thin lines on the edges of cells, rather than using traditional box-drawing characters. This approach allows borders to be rendered without consuming additional rows or columns, improving the visual density and design flexibility of Terminal User Interfaces (TUIs). The protocol has been implemented as a patch for Ghostty and demonstrated with Ratatui applications.