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: 0

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