M***@data61.csiro.au
2018-02-27 03:39:12 UTC
Has anyone used the FFI interface or similar to link libcurses or similar? I could try to talk ANSI terminal sequences directly, but querying terminal state with these seems pretty painful. (At the very least one has to put standard input into a non-blocking state, and I found the Basis documentation on how I might do this very confusing.) And then one is breaking the very abstraction that curses is trying to provide...
As a bare minimum for example, I'd like to get the width of the current terminal.
Michael
As a bare minimum for example, I'd like to get the width of the current terminal.
Michael