teahelper

package
v0.0.0-...-2263012 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertModelViewContains

func AssertModelViewContains(t *testing.T, view string, str string)

func AssertStdoutContains

func AssertStdoutContains(t *testing.T, stdout bytes.Buffer, str string)

func SendKeyPresses

func SendKeyPresses(p *tea.Program, keys string)

func SendSpecialKeyPress

func SendSpecialKeyPress(p *tea.Program, keyType tea.KeyType)

func SpecialKeyPress

func SpecialKeyPress(keyType tea.KeyType) tea.KeyMsg

func TeaKeyToByteArr

func TeaKeyToByteArr(key tea.KeyType) []byte

TeaKeyToByteArr converts tea KeyTypes (special characters) to byte arrays

Types

This section is empty.

Jump to

Keyboard shortcuts

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