Skip to content

Commit

Permalink
help docs
Browse files Browse the repository at this point in the history
  • Loading branch information
togettoyou committed Nov 29, 2021
1 parent 382eb08 commit f101c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type ui struct {
tabPage *tabPage
}

var content = []string{"Infos", "Events", "Logs"}
var content = []string{"\nInfos", "Events", "Logs"}

type tabPage struct {
ctx context.Context
Expand Down Expand Up @@ -187,7 +187,7 @@ func (u *ui) initTabPages() {
u.tabPage.contents.SetTitle(content[index])
u.updateTabPageContents()
})
tabs.SetTitle("type").SetBorder(true)
tabs.SetTitle("[Enter 确认] [Backspace 回退] [↑ ↓ 切换] [Ctrl C 退出]").SetBorder(true)

previousSlide := func() {
slide, _ := strconv.Atoi(tabs.GetHighlights()[0])
Expand Down

0 comments on commit f101c44

Please sign in to comment.