()
| 101 | } |
| 102 | |
| 103 | func UIHelp() *tview.TextView { |
| 104 | tips := []string{"j:down", "k:up", "space:expand/collapse", "h/l:switch", "g:top", "G:bottom", "crtl+c/q:quit", "{:collapse_all", "}:expand_all", "[:collapse_node", "]:expand_node"} |
| 105 | text := tview.NewTextView().SetText(strings.Join(tips, " | ")) |
| 106 | return text |
| 107 | } |
| 108 | |
| 109 | func TaskLog() *tview.TextView { |
| 110 | log := tview.NewTextView().SetDynamicColors(true).ScrollToEnd() |