screen

package
v0.0.0-...-77d91d8 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 11 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 {
	// contains filtered or unexported fields
}

func New

func New(
	bqClient *bigquery.Client,
	defaultRenderer renderer.Renderer,
	markdownRenderer *renderer.MarkdownRenderer,
	checkpoint *checkpoint.Checkpoint,
	history history.Storage,
) *Screen

New creates a new TUI screen.

+-------------------------------------------------------------------+ | textArea | | | | | | | | | +-------------------------------------------------------------------+ | borderTextView (height: 1) | +-------------------------------------------------------------------+ | resultTextView | | | | | | | | | +-------------------------------------------------------------------+ | statusTextView | ctrlXTextView | cursorPosTextView | | | (width: 8) | (width: 18) | +-------------------------------------------------------------------+

func (*Screen) Run

func (s *Screen) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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