From 1064d33fa7ec70edcc2b4e63cc52a1a6b87c7446 Mon Sep 17 00:00:00 2001 From: Dominic Ricottone Date: Sun, 7 Apr 2024 14:55:04 -0500 Subject: [PATCH] Noted one more TODO --- app.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app.go b/app.go index a7580da..cb9d514 100644 --- a/app.go +++ b/app.go @@ -16,6 +16,12 @@ func Start(ctx context.Context, rx <-chan *spotify.FullTrack, tx chan<- *Event) app := tview.NewApplication() pages := tview.NewPages() + //TODO: help := tview.NewTextView().SetScrollable(false).ScrollToEnd() + //fmt.Fprint(help, `help + //text + //here`) + //pages.AddPage("help", help, true, false) + logs := tview.NewTextView().SetDynamicColors(true).SetScrollable(false).ScrollToEnd() log.SetOutput(tview.ANSIWriter(logs)) pages.AddPage("logs", logs, true, true) @@ -98,7 +104,7 @@ func Start(ctx context.Context, rx <-chan *spotify.FullTrack, tx chan<- *Event) // End user pressed `F3` anywhere. case tcell.KeyF3: - // show help + // TODO: show help case tcell.KeyRune: @@ -106,7 +112,7 @@ func Start(ctx context.Context, rx <-chan *spotify.FullTrack, tx chan<- *Event) // End user pressed `?` anywhere. case '?': - // show help + // TODO: show help // End user pressed `q` anywhere. case 'q': -- 2.43.4