-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
^D
now works with readLineFromStdin
(in particular in nim secret
)
#18442
Conversation
Bugfixes come with rdstdin API additions, not exactly ideal. If you put effort into "nim secret", can you please move it so that it is a tool of its own? |
ok, see #18448 which can be merged first
the API additions are useful for any tool that uses rdstdin not just |
Maybe but then the Nim compiler itself does not depend on linenoise anymore so that's a benefit. |
future work can add a plugin interface to compiler so you'd be able to load an optional linenoise-compatible plugin at compiler runtime via |
This pull request has been automatically marked as stale because it has not had recent activity. If you think it is still a valid PR, please rebase it on the latest devel; otherwise it will be closed. Thank you for your contributions. |
quit
doesn't always allow quitting, and is a hack as it prevents cleanup work;^D
can now be used instead on platforms supporting linenoise)^D
now works withreadLineFromStdin
(in particular innim secret
; in particularecho 'echo 1' | nim secret
now works and exits instead of hanging)