Documentation
¶
Index ¶
Constants ¶
View Source
const ( PromptMode = iota CommandMode )
View Source
const ( CommandNone = iota CommandQuit CommandPrompt )
Variables ¶
This section is empty.
Functions ¶
func AddKeyEventListener ¶
func AddKeyEventListener(fn listener)
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
var App *Application
func (*Application) Close ¶
func (app *Application) Close()
func (*Application) Run ¶
func (app *Application) Run()
type CommandBuffer ¶
type CommandBuffer struct {
// contains filtered or unexported fields
}
func NewCommandBuffer ¶
func NewCommandBuffer() *CommandBuffer
func (*CommandBuffer) Process ¶
func (c *CommandBuffer) Process(kv *tcell.EventKey) Command
func (*CommandBuffer) Reset ¶
func (k *CommandBuffer) Reset()
type Layout ¶
type Layout interface { // Origin() *Point // Width() int // Height() int IsFocus() bool Focus() UnFocus() Resize() }
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
func (*Window) SwitchMode ¶
func (w *Window) SwitchMode()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.