Documentation
¶
Overview ¶
Package termsize is a terminal geometry shared by the CLI and the host. It lives at the module root's internal/ rather than under host/internal so that cmd/ may import it: Go's internal rule confines host/internal to the tree under host/.
Index ¶
Constants ¶
View Source
const Max = 65535
Max is the largest dimension a pty winsize can carry: both fields are uint16 on every platform this runs on.
Variables ¶
View Source
var Default = Size{Cols: 80, Rows: 24}
Default is the geometry a session opens with when nothing better is known. 80x24 is the only size every terminal application copes with.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.