[HN Gopher] Writing Programs with Ncurses
___________________________________________________________________
Writing Programs with Ncurses
Author : begoon
Score : 38 points
Date : 2025-03-23 13:27 UTC (3 days ago)
(HTM) web link (invisible-island.net)
(TXT) w3m dump (invisible-island.net)
| mouse_ wrote:
| related: "On Terminal Control" https://xn--rpa.cc/irl/term.html
| xbar wrote:
| Declaring all sample code AGPLv3 in the footer is toxic. I'm
| glad I scrolled before I polluted my brain with unusable
| information.
| dooglius wrote:
| Unless otherwise specified, you have no license to use any
| code you find on the Internet.
| SoftTalker wrote:
| Always thought of (N)curses as the conceptual React framework for
| terminal applications. You tell it what the screen should look
| like and it figures out how to efficiently write just the changes
| needed to achieve that on the terminal.
| degrees57 wrote:
| I always liked that on SuSE, I had my choice with YaST of either
| the Ncurses interface or the GUI X Window System. The
| functionality was identical, but sometimes a GUI is pleasant.
| cranium wrote:
| Ncurses has always been on my list of cool things I wanted to
| learn but couldn't invest the time to actually build something
| with.
|
| Then I found Textual (Python library,
| https://textual.textualize.io/) which feels like its modern and
| prettier child. Not gonna lie, it's still not a turnkey solution
| that transformed my clumsy scripts into a beautiful TUI without
| work but it's close!
| autoexec wrote:
| It's kind of crazy how much work it takes to get an interface
| on the level of ancient software to work on modern systems.
| matt3210 wrote:
| NCurses is peak ui design
| bashmelek wrote:
| This is rather timely--I started playing with PDCurses after
| being inspired by Zed Shaw's "Rogue is the Best Project". It has
| been an interesting experience
___________________________________________________________________
(page generated 2025-03-26 23:00 UTC)