-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
switch to ergochat/readline #33305
base: main
Are you sure you want to change the base?
switch to ergochat/readline #33305
Conversation
Thanks for this submission! To set expectations, we will need to have this reviewed by the security team and we are in the beta/RC period for 1.5 so it may be some time before this is reviewed. Thanks again! |
Just wanted to check in about this again? |
Thanks for the bump. I'll bring it up in triage again, to see if we want to pursue this in the near future. |
(Updating to our latest release, v0.1.0) |
Thanks for this. We are going to work on a process for updating dependencies before new releases. I'll keep you posted. |
This switches the Terraform console library from chzyer/readline, which is unmaintained, to a fork ergochat/readline, maintained by me and @wader.
This will fix a number of bugs, including #33195. It may also make possible Solaris support for the console, which is currently compiled out:
terraform/internal/command/console_interactive_solaris.go
Lines 18 to 20 in c42e0ee
I can confirm that our fork builds with
GOOS=solaris
, but I don't have a Solaris environment to confirm that the runtime behavior is as expected.Fixes #33195
Target Release
1.5.x
Draft CHANGELOG entry
BUG FIXES
terraform console
: Fixed crash from Ctrl-C when searching an empty history