[tty] use terminal width
Use eg. [terminal_size](https://opam.ocaml.org/packages/terminal_size/) package
issue