Documentation
¶
Index ¶
- type TCellBackend
- func (b *TCellBackend) Events() bool
- func (b *TCellBackend) Exit()
- func (b *TCellBackend) MousePosition() mathi.Vec2
- func (b *TCellBackend) MousePressed(key timui.Key) bool
- func (b *TCellBackend) Render()
- func (b *TCellBackend) Set(pos mathi.Vec2, char rune, fg, bg uint32)
- func (b *TCellBackend) Size() mathi.Vec2
- func (b *TCellBackend) TakeInput() timui.Input
- func (b *TCellBackend) WriteClipboard(text string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TCellBackend ¶
type TCellBackend struct {
// contains filtered or unexported fields
}
func NewBackend ¶
func NewBackend() (*TCellBackend, error)
func (*TCellBackend) Events ¶
func (b *TCellBackend) Events() bool
func (*TCellBackend) Exit ¶
func (b *TCellBackend) Exit()
func (*TCellBackend) MousePosition ¶
func (b *TCellBackend) MousePosition() mathi.Vec2
func (*TCellBackend) MousePressed ¶
func (b *TCellBackend) MousePressed(key timui.Key) bool
func (*TCellBackend) Render ¶
func (b *TCellBackend) Render()
func (*TCellBackend) Size ¶
func (b *TCellBackend) Size() mathi.Vec2
func (*TCellBackend) TakeInput ¶
func (b *TCellBackend) TakeInput() timui.Input
func (*TCellBackend) WriteClipboard ¶ added in v0.0.4
func (b *TCellBackend) WriteClipboard(text string)
WriteClipboard sends an OSC 52 escape sequence directly to the controlling tty. tcell's Screen interface has no raw-write hook and stdout is normally redirected to a log file (the TUI owns the terminal), so /dev/tty is opened fresh for this one write rather than going through either.
Click to show internal directories.
Click to hide internal directories.