cmd

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: GPL-3.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTTY added in v1.5.2

func CheckTTY(fds ...int) bool

CheckTTY 检查给定的 fd 是否都是终端(可测试)。

func Execute added in v1.5.0

func Execute()

func ParseMTRKey added in v1.5.2

func ParseMTRKey(b byte) string

ParseMTRKey 将单字节解析为操作名称(用于测试)。 返回值: "quit", "pause", "resume", "restart", "display_mode", "name_toggle", "" (未知)。

Types

This section is empty.

Jump to

Keyboard shortcuts

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