You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that when the nix repl went from using readline -> linenoise -> editline it lost the ctrl-c behaviour of aborting partially typed expressions. Example:
Welcome to Nix version 2.3. Type :? for help.
nix-repl> let foo = 1;
in
^C
^C
I guess this was not intentional since more or less identical issues have been addressed previously (c.f. #1757, #2076). Currently it looks like the ctrl-c behaviour was last lost in PR #2228.
I have prepared a fix here https://github.com/xbreak/nix/tree/repl/ctrlc which sort of cherry picks from the previous solution when readline was used. I can create a PR if the approach look ok.
The text was updated successfully, but these errors were encountered:
It seems that when the nix repl went from using readline -> linenoise -> editline it lost the ctrl-c behaviour of aborting partially typed expressions. Example:
I guess this was not intentional since more or less identical issues have been addressed previously (c.f. #1757, #2076). Currently it looks like the ctrl-c behaviour was last lost in PR #2228.
I have prepared a fix here https://github.com/xbreak/nix/tree/repl/ctrlc which sort of cherry picks from the previous solution when readline was used. I can create a PR if the approach look ok.
The text was updated successfully, but these errors were encountered: