Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateList ¶
func CreateList(mtv *MessagesTextView) *tview.List
func HandleCommand ¶
func HandleCommand(mi *MessageInputField, t string, m *astatine.Message) bool
func InitCommands ¶
func InitCommands()
Types ¶
type App ¶
type App struct { *tview.Application MainFlex *tview.Flex GuildsList *GuildsList ChannelsTreeView *ChannelsTreeView MessagesTextView *MessagesTextView MessageInputField *MessageInputField Session *astatine.Session SelectedChannel *astatine.Channel Config *config.Config SelectedMessage int }
func (*App) DrawMainFlex ¶
func (app *App) DrawMainFlex()
type ChannelsTreeView ¶
func NewChannelsTreeView ¶
func NewChannelsTreeView(app *App) *ChannelsTreeView
type GuildsList ¶
func NewGuildsList ¶
func NewGuildsList(app *App) *GuildsList
type LoginForm ¶
func NewLoginForm ¶
type MessageInputField ¶
type MessageInputField struct { *tview.InputField // contains filtered or unexported fields }
func NewMessageInputField ¶
func NewMessageInputField(app *App) *MessageInputField
type MessagesTextView ¶
func NewMessagesTextView ¶
func NewMessagesTextView(app *App) *MessagesTextView
Click to show internal directories.
Click to hide internal directories.