terminal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Size

func Size(w io.Writer) (width, height int, err error)

Size 返回用户终端的当前宽度和高度。如果不是终端,返回 nil。 出错时,width 和 height 返回零值。 通常 w 必须是 stdout。Stderr 不起作用。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL