Add TODO regarding issues with pager

This commit is contained in:
Jan Philipp Timme 2018-12-30 14:53:15 +01:00
parent f48e4c9f60
commit 6a934ee54b
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ func showQueue() {
reader, writer := io.Pipe() reader, writer := io.Pipe()
pagerDone := make(chan bool) pagerDone := make(chan bool)
go launchPager(reader, pagerDone) go launchPager(reader, pagerDone)
// TODO: Figure out how to handle the pager closing before we're done writing
for _, entry := range entries { for _, entry := range entries {
fmt.Fprintf(writer, "%s\n", entry.String()) fmt.Fprintf(writer, "%s\n", entry.String())
} }