tty
tty copied to clipboard
A pure OCaml library for working with terminals
I didn't get a reply to my [issue/feature request](https://github.com/ocaml-tui/tty/issues/6), but saw that it was added to the Riot roadmap, so maybe it is a feature you'd want in this library....
I've been trying to figure out a way to get the dimensions of the current terminal in a sensible (somewhat) cross-platform way. I thought it'd be a fairly easy thing...
I think the Stdin module should read from `/dev/tty` instead of stdin (or else the user should be able to choose). Otherwise writing interactive programs that read input from stdin...