pb: github.com/cheggaaa/pb/v3/termutil Index | Files

package termutil

import "github.com/cheggaaa/pb/v3/termutil"

Index

Package Files

term.go term_linux.go term_nix.go term_x.go

func RawModeOff Uses

func RawModeOff() (err error)

RawModeOff restore previous terminal state

func RawModeOn Uses

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

RawModeOn switches terminal to raw mode

func TerminalWidth Uses

func TerminalWidth() (int, error)

TerminalWidth returns width of the terminal.

Package termutil imports 7 packages (graph) and is imported by 2 packages. Updated 2019-07-02. Refresh now. Tools for package owners.