ui

package
v0.0.0-...-a7e8193 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2017 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Goed using WDE as a graphical backend Experimental at this point, works but slow as high resolutions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type GuiTerm

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

GuiTerm is a very minimal text terminal emulation GUI.

func NewGuiTerm

func NewGuiTerm(wh, ww int, config *core.Config) *GuiTerm

func (*GuiTerm) Char

func (t *GuiTerm) Char(y, x int, c rune, fg, bg core.Style)

func (*GuiTerm) CharAt

func (t *GuiTerm) CharAt(y, x int) rune

for testing

func (*GuiTerm) Clear

func (t *GuiTerm) Clear(fg, bg core.Style)

func (*GuiTerm) Close

func (t *GuiTerm) Close()

func (*GuiTerm) Flush

func (t *GuiTerm) Flush()

func (*GuiTerm) Init

func (t *GuiTerm) Init() error

func (*GuiTerm) Listen

func (t *GuiTerm) Listen()

func (*GuiTerm) SetCursor

func (t *GuiTerm) SetCursor(x, y int)

func (*GuiTerm) SetExtendedColors

func (t *GuiTerm) SetExtendedColors(b bool)

func (*GuiTerm) Size

func (t *GuiTerm) Size() (h, w int)

size in characters

Jump to

Keyboard shortcuts

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