pb.v1: gopkg.in/cheggaaa/pb.v1/v3/termutil Index | Files

package termutil

import "gopkg.in/cheggaaa/pb.v1/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). Updated 2020-08-07. Refresh now. Tools for package owners.