console

package
v1.3.17 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

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

func Create

func Create(fg, bg tb.Attribute) *Console

func (*Console) Background

func (c *Console) Background() tb.Attribute

func (*Console) Clear

func (c *Console) Clear()

func (*Console) Close

func (c *Console) Close()

func (*Console) Foreground

func (c *Console) Foreground() tb.Attribute

func (*Console) GetChar

func (c *Console) GetChar(x, y int) rune

func (*Console) PrintRepeatWithAttributes

func (c *Console) PrintRepeatWithAttributes(x, y int, s rune, n int, fg, bg tb.Attribute)

func (*Console) PrintString

func (c *Console) PrintString(x, y int, s string)

func (*Console) PrintStringWithAttributes

func (c *Console) PrintStringWithAttributes(x, y int, s string, bg, fg tb.Attribute)

func (*Console) SetCharWithAttributes

func (c *Console) SetCharWithAttributes(x, y int, r rune, fg, bg tb.Attribute)

func (*Console) Size

func (c *Console) Size() (int, int)

func (*Console) Update

func (c *Console) Update()

Jump to

Keyboard shortcuts

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