Add TODO regarding issues with pager
This commit is contained in:
parent
f48e4c9f60
commit
6a934ee54b
1
main.go
1
main.go
|
@ -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())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue