Documentation ¶
Index ¶
- func NewApp() *tview.Application
- type BBSViewT
- func (b *BBSViewT) Display()
- func (b *BBSViewT) NextPageBBS()
- func (b *BBSViewT) NextPageComments()
- func (b *BBSViewT) PrevPageBBS()
- func (b *BBSViewT) PrevPageComments()
- func (b *BBSViewT) RefreshBBSList()
- func (b *BBSViewT) RefreshComments()
- func (b *BBSViewT) RefreshCommentsTitle()
- func (b *BBSViewT) RefreshPost()
- func (b *BBSViewT) RefreshTitle()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApp ¶
func NewApp() *tview.Application
Types ¶
type BBSViewT ¶
type BBSViewT struct { Region spider.Region Main *tview.Pages BBSListView *tview.List PostView *tview.TextView CommentsView *tview.List // 页数 BBSPage int CommentPage int // 显示 HelpContent string BBSList []spider.BBS Comments []spider.Comment PostContent string SelectedBBS spider.BBS }
var BBSView *BBSViewT
func NewBBSView ¶
Click to show internal directories.
Click to hide internal directories.