term

package
v0.0.0-...-e21ce11 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

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

func (*Column) NewWindow

func (col *Column) NewWindow(m ui.Model) ui.Updater

func (*Column) SetTag

func (col *Column) SetTag(m ui.Model)

func (*Column) Update

func (col *Column) Update(msg ui.Message)

type Frame

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

func (*Frame) CharsUntilXY

func (f *Frame) CharsUntilXY(x, y int) int

func (*Frame) Lines

func (f *Frame) Lines() int

func (*Frame) Nchars

func (f *Frame) Nchars() int

func (*Frame) SelectionLines

func (f *Frame) SelectionLines() (int, int)

func (*Frame) SetWantCol

func (f *Frame) SetWantCol(col int)

func (*Frame) WantCol

func (f *Frame) WantCol() int

type Text

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

type UI

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

func (*UI) Close

func (t *UI) Close() error

func (*UI) Init

func (t *UI) Init(m ui.Model) error

func (*UI) Main

func (t *UI) Main()

func (*UI) NewColumn

func (t *UI) NewColumn(m ui.Model) ui.Column

func (*UI) Push_Key_Event

func (t *UI) Push_Key_Event(ev key.Event)

func (*UI) SetTag

func (t *UI) SetTag(m ui.Model)

func (*UI) Size

func (t *UI) Size() (w, h int)

type Window

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

func (*Window) Update

func (win *Window) Update(msg ui.Message)

Jump to

Keyboard shortcuts

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