A syntax-highlighting pager for git, diff, grep, and blame output
Don't keep subcommand stdout around
take() and pass it to BufReader so it gets closed when the reader stops. Otherwise on an early pager (EPIPE), and thus delta() exit the feeding subcommand still has an open stdout to write something into and wait()-ing on it hangs.
T
Thomas Otto committed
440cdd35dcdab4dc6c00231935411910be628983
Parent: 31296e7
Committed by Dan Davison <dandavison7@gmail.com>
on 12/2/2024, 11:19:41 PM