Documentation ¶
Overview ¶
Package virtualterm provides a virtual terminal and some terminal emulation functions
Index ¶
- type Term
- func (term *Term) Bg() *types.Colour
- func (term *Term) CopyLines(top, bottom int32) []byte
- func (term *Term) CopyRange(topLeft, bottomRight *types.XY) []byte
- func (term *Term) CopySquare(begin *types.XY, end *types.XY) []byte
- func (term *Term) GetSize() *types.XY
- func (term *Term) HasFocus(state bool)
- func (term *Term) IsAltBuf() bool
- func (term *Term) MakeVisible(visible bool)
- func (term *Term) Match(pos *types.XY)
- func (term *Term) MouseClick(pos *types.XY, button uint8, clicks uint8, pressed bool, ...)
- func (term *Term) MouseMotion(pos *types.XY, movement *types.XY, callback types.EventIgnoredCallback)
- func (term *Term) MouseWheel(pos *types.XY, movement *types.XY)
- func (term *Term) Render()
- func (term *Term) Reply(b []byte)
- func (term *Term) Resize(size *types.XY)
- func (term *Term) Search()
- func (term *Term) ShowCursor(v bool)
- func (term *Term) Start(pty types.Pty)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Term ¶
Term is the display state of the virtual term
func NewTerminal ¶
NewTerminal creates a new virtual term
func (*Term) MakeVisible ¶
func (*Term) MouseClick ¶
func (*Term) MouseMotion ¶
func (*Term) ShowCursor ¶
Source Files ¶
- ansi_apc.go
- ansi_c0.go
- ansi_c1.go
- ansi_csi.go
- ansi_csi_private.go
- ansi_csi_tertiary.go
- ansi_dcs.go
- ansi_osc.go
- ansi_pm.go
- ansi_sgr.go
- ansi_vt52.go
- apc_functions.go
- blink.go
- c1_functions.go
- character_sets.go
- copy.go
- csi_erase.go
- csi_functions.go
- csi_move.go
- exec.go
- godoc.go
- match.go
- mouse.go
- osc_functions.go
- render.go
- resize.go
- search.go
- tabstops.go
- term.go
- tmux.go
- write.go
Click to show internal directories.
Click to hide internal directories.