Documentation
¶
Index ¶
Constants ¶
View Source
const ( OtterchatKey = "otterchat" CMDSymbolName = "Commands" )
OtterchatKey key for the main page
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface {
Name() string
Usage() string
Desc() string
Exec(*UI, *Page, []string) error
}
Command represents an executable a command
type Page ¶
type Page struct {
ChannelInfoView *tview.TextView
ChatView *tview.TextView
InputInfoView *tview.TextView
UserInput *tview.InputField
UserList *tview.List
}
Page The elements needed for the page
Click to show internal directories.
Click to hide internal directories.