termutil

package
Version: v2.0.7+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RawModeOff

func RawModeOff() (err error)

RawModeOff restore previous terminal state

func RawModeOn

func RawModeOn() (quit chan struct{}, err error)

RawModeOn switches terminal to raw mode

func TerminalWidth

func TerminalWidth() (int, error)

TerminalWidth returns width of the terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL