Urgent.News

What's breaking now, across thousands of outlets.

Tech

Terminal borders that don't cost a cell

This article explores the limitations of using border characters in terminal interfaces. The author argues that borders consume precious space and hinder good design. They propose an alternative approach using cell borders, which are attributes stored within each cell rather than separate text glyphs. Cell borders enable more efficient use of screen real estate, better text formatting, and easier copy-pasting of content.

They also support various line styles, corner shapes, and colors, enhancing visual clarity and interactivity. The author demonstrates the concept using a terminal application built with Ratatui and Ghostty, showcasing how cell borders facilitate intuitive navigation and layout management without sacrificing visual appeal.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at joshka.net →

More in Tech

Gold Loses Rs. 16,000 in Two Days

Gold prices in Pakistan fell for a second straight day on Friday, with 24-karat gold dropping by Rs. 4,900 to … Read More The post Gold Loses Rs. 16,000 in Two Days appeared first on ProPakistani .

More from Friday 13 November →