terminal

package
v1.2.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package terminal 包含用于检测在windows下是否通过双击运行go-cqhttp, 禁用快速编辑, 启用VT100的函数

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableQuickEdit

func DisableQuickEdit() error

DisableQuickEdit 禁用快速编辑,非Windows系统永远返回nil

func EnableVT100

func EnableVT100() error

EnableVT100 启用颜色、控制字符,非Windows系统永远返回nil

func NoMoreDoubleClick

func NoMoreDoubleClick() error

NoMoreDoubleClick 提示用户不要双击运行,非Windows系统永远返回nil

func RestoreInputMode

func RestoreInputMode() error

RestoreInputMode 还原输入模式,非Windows系统永远返回nil

func RunningByDoubleClick

func RunningByDoubleClick() bool

RunningByDoubleClick 检查是否通过双击直接运行,非Windows系统永远返回false

Types

This section is empty.

Jump to

Keyboard shortcuts

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