|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
Public Member Functions | |
| ReadlineLikeInteracter (std::string historyFile) | |
| virtual Guard | init (detail::ReplCompleterMixin *repl) override |
| virtual bool | getLine (std::string &input, ReplPromptType promptType) override |
| virtual void | writeHistory () |
Additional Inherited Members | |
| Public Types inherited from nix::ReplInteracter | |
| using | Guard = Finally<std::function<void()>> |
|
overridevirtual |
Returns a boolean of whether the interacter got EOF
Implements nix::ReplInteracter.
|
overridevirtual |
Implements nix::ReplInteracter.
|
virtual |
Writes the current history to the history file.
This function logs but ignores errors from readline's write_history().