~dricottone/nspotify

1064d33fa7ec70edcc2b4e63cc52a1a6b87c7446 — Dominic Ricottone 8 months ago 56b2cbc dev
Noted one more TODO
1 files changed, 8 insertions(+), 2 deletions(-)

M app.go
M app.go => app.go +8 -2
@@ 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':