$ ocaml unix.cma -I +ANSITerminal ANSITerminal.cma # let width, height = ANSITerminal.size () ;; val width : int = 126 val height : int = 47