Re:CLI: Improved
by flukus on Thursday August 30, 2018 @11:34PM
(#17882738)
> where the editor UI is drawn on stderr and result saved to stdout
I did some experimenting recently and found you can open a new /dev/tty file descriptor and tell curses to use this, the rest of the application can continue reading stdin and writing stdout as normal.
I did some experimenting recently and found you can open a new /dev/tty file descriptor and tell curses to use this, the rest of the application can continue reading stdin and writing stdout as normal.