Documentation
¶
Index ¶
Constants ¶
View Source
const ( Normal mode = iota Command Toggle )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { // Necessities Doc *markdown.Document Application *tview.Application Pages *tview.Pages Page string // Windows Content *tview.TextView Sidebar *tview.TextView Statusbar *tview.TextView // Modes for keeping track of toggle Mode mode // contains filtered or unexported fields }
View of app
func (*App) AddHomePage ¶
func (a *App) AddHomePage()
func (*App) HandleSidebar ¶
func (a *App) HandleSidebar(event *tcell.EventKey) *tcell.EventKey
func (*App) SetContent ¶
func (a *App) SetContent()
func (*App) SetSidebar ¶
func (a *App) SetSidebar()
func (*App) SetStatusbar ¶
func (a *App) SetStatusbar()
Click to show internal directories.
Click to hide internal directories.