logoalt Hacker News

Terminal borders that don't cost a cell

22 points • by vinhnx • today at 11:06 PM • 6 comments • view on HN

Comments

joouha • today at 11:42 PM

A much better alternative to this would be to for more terminal emulators to implement overstrike mode (DECSET 20, as available on the VK100). That way you could just draw border characters over existing text cells to achieve the same thing.

Unfortunately mintty is the only terminal emulator I'm aware of which supports overstrike [0], as this would open up a world of new possibilities for TUI apps if more widely supported.

[0] https://github.com/mintty/mintty/wiki/CtrlSeqs#overstrike

tptacek • today at 11:37 PM

I love this work and everything else Ratatui does but I have to ask: if you're changing the terminal protocol and the terminal itself to do this, why not do something more ambitious; a full monospaced information-dense UI framework, a terminal designed for user interfaces, rather than one designed to replicate the limitations of dumb terminals?

montroser • today at 11:27 PM

I appreciate the innovation happening with TUIs in these modern times. But, aesthetically, I have to say, I like my borders to have some breathing room, which gets lost in this particular treatment.

cobychapple • today at 11:29 PM

Would be cool to get borders and lines out of copy/paste

0c3ca83 • today at 11:40 PM

What if, dare I say it, we just served HTML over ssh, and let the browser render a proper UI, instead of layering hacks on top of hacks?

➕ show 1 reply
kenzo_cavanaugh • today at 11:38 PM

[flagged]