diff options
author | Lars Mühmel <larsmuehmel@web.de> | 2020-07-17 17:35:59 +0200 |
---|---|---|
committer | Lars Mühmel <larsmuehmel@web.de> | 2020-07-17 17:35:59 +0200 |
commit | bc73590151bff82b03077c34f0c5aa9f84c89e63 (patch) | |
tree | e0a8fe88ec10a52e5df98e4c21a6aef669e8488f /src/libstore/optimise-store.cc | |
parent | 17f75f9cc4dd70e3e6de7e266ef2bd18a0da310b (diff) |
nix edit: call restoreSignals() before `execvp`-ing the $EDITOR
Currently resizing of the terminal doesn't play nicely with
nix edit when using kakoune as the editor, as it relies on the
SIGWINCH signal which is trapped by nix. How this is not a problem
with e.g. vim is beyond me.
Virtually all other exec* calls are following a call to
restoreSignals(). This commit adds this behavior to nix edit
as well.
Diffstat (limited to 'src/libstore/optimise-store.cc')
0 files changed, 0 insertions, 0 deletions