platform

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IsWindows = false
)

Variables

This section is empty.

Functions

func DefaultIsTerminal

func DefaultIsTerminal() bool

func DefaultOnSizeChanged

func DefaultOnSizeChanged(f func())

func DefaultOnWidthChanged

func DefaultOnWidthChanged(f func())

func GetScreenSize

func GetScreenSize() (width int, height int)

GetScreenSize returns the width/height of the terminal or -1,-1 or error

func SuspendProcess

func SuspendProcess()

SuspendProcess suspends the process with SIGTSTP, then blocks until it is resumed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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