lix/src/libmain
Alexander Bantyev 0a2fa2d684
RunPager: restore stdout upon pager exit
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.
2021-12-06 16:51:55 +03:00
..
common-args.cc Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
common-args.hh Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
local.mk Merge pull request #5175 from Pamplemousse/make 2021-08-30 12:44:29 +02:00
loggers.cc Capitalize JSON for consistency 2020-10-28 17:54:28 -05:00
loggers.hh Capitalize JSON for consistency 2020-10-28 17:54:28 -05:00
nix-main.pc.in pkg-config files: Use c++17 2019-03-14 14:11:12 +01:00
progress-bar.cc Fix heap use after free in progress-bar.cc 2021-11-23 08:34:55 -08:00
progress-bar.hh Style fixes 2020-06-11 15:39:08 +02:00
shared.cc RunPager: restore stdout upon pager exit 2021-12-06 16:51:55 +03:00
shared.hh RunPager: restore stdout upon pager exit 2021-12-06 16:51:55 +03:00
stack.cc fixes to merged code 2020-05-11 15:52:15 -06:00