test

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Screen

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

Screen is a mock implementation of tcell.Screen designed for testing.

func NewScreen

func NewScreen() *Screen

NewScreen creates a new Screen mock.

func (*Screen) Clear

func (s *Screen) Clear()

Clear implements tcell.Screen.

func (*Screen) Content

func (s *Screen) Content() string

Content returns the current content as string. All trailing spaces will be trimmed.

func (*Screen) SetContent

func (s *Screen) SetContent(x int, y int, mainc rune, combc []rune, style tcell.Style)

SetContent implements tcell.Screen.

Jump to

Keyboard shortcuts

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