display

package
v0.0.0-...-b30810a Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(e editor.Editor)

InitializeScreen sets up the terminal screen

Types

type CaretStyle

type CaretStyle struct{}

func (CaretStyle) BackgroundColor

func (c CaretStyle) BackgroundColor() color.Color

func (CaretStyle) TextColor

func (c CaretStyle) TextColor() color.Color

type Screen

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

func NewScreen

func NewScreen(e *editor.Editor) *Screen

func (*Screen) UpdateCaret

func (s *Screen) UpdateCaret()

UpdateCaret updates the position of the caret on the screen

Jump to

Keyboard shortcuts

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