On Tue, 18 Apr 2023, Mouse wrote:
While writing this mail, it occurs to me that a mode wherein everything operates same as now, except that output, instead of being pushed to the tty with fwrite() or write() or writev() or whatever, is just passed to a callback. That would address my use cases with a much less intrusive change.
Try libtickit--that uses callbacks (I think): https://www.leonerd.org.uk/code/libtickit/ -RVP