forked from lix-project/lix
0a2fa2d684
Before this change, stdout was closed after the pager exits. This is fine for non-interactive commands where we want to exit right after the pager exits anyways, but for interactive things (e.g. nix repl) this breaks the output after we quit the pager. Keep the initial stdout fd as part of RunPager, and restore it in RunPager::~RunPager using dup2. |
||
---|---|---|
.. | ||
common-args.cc | ||
common-args.hh | ||
local.mk | ||
loggers.cc | ||
loggers.hh | ||
nix-main.pc.in | ||
progress-bar.cc | ||
progress-bar.hh | ||
shared.cc | ||
shared.hh | ||
stack.cc |