termui

package module
v0.0.0-...-9fbee8d Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-termui

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event interface{}

type KeyEvent

type KeyEvent struct {
	// contains filtered or unexported fields
}

type ResizeEvent

type ResizeEvent struct {
	Width  uint16
	Height uint16
}

type Screen

type Screen struct {
	Console console.Console
	// contains filtered or unexported fields
}

func NewScreen

func NewScreen() *Screen

func (*Screen) CursorInvisible

func (s *Screen) CursorInvisible()

func (*Screen) CursorVisible

func (s *Screen) CursorVisible()

func (*Screen) End

func (s *Screen) End()

func (*Screen) EnterFullScreen

func (s *Screen) EnterFullScreen()

func (*Screen) EnterMarginMode

func (s *Screen) EnterMarginMode()

func (*Screen) ExitFullScreen

func (s *Screen) ExitFullScreen()

func (*Screen) ExitMarginMode

func (s *Screen) ExitMarginMode()

func (*Screen) GetEvent

func (s *Screen) GetEvent() Event

func (*Screen) Goto

func (s *Screen) Goto(y, x int)

func (*Screen) Start

func (s *Screen) Start()

Jump to

Keyboard shortcuts

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