package term
import "k8s.io/component-base/term"
Index ¶
Functions ¶
func TerminalSize ¶
TerminalSize returns the current width and height of the user's terminal. If it isn't a terminal, nil is returned. On error, zero values are returned for width and height. Usually w must be the stdout of the process. Stderr won't work.
Source Files ¶
term.go
- Version
- v0.26.6
- Published
- Jun 14, 2023
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 minute ago –
Tools for package owners.