News for hackers. Stuff that matters.
Re:Things I've learned building a modern TUI framework by mrighele on Wednesday August 03, 2022 @01:44PM (#32334760)
Not all console programs are meant to be batch tools whose output needs to be piped and parsed.

Sometimes you need an interactive tool and you may want to run then in a console.

Emacs is an example

Re:Things I've learned building a modern TUI framework by chriswarbo on Thursday August 04, 2022 @06:07AM (#32341113)
Yet Emacs is commonly run as a batch tool, whose output needs to be piped and parsed! For example, web sites which are generated via org-mode (I used to do this, about a decade ago). My Emacs config has unit tests, which are run via a non-interactive command (since tests are meant to find problems, and I don't want those problems to 'infect' the Emacs process I'm using for work)