package terminal_size

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Terminal_size

Get the dimensions of the terminal

val get_rows : unit -> int option

Return the number of rows that can be displayed

val get_columns : unit -> int option

Return the number of columns that can be displayed