-
Notifications
You must be signed in to change notification settings - Fork 875
Bug: can't use Backspace in "Specify a name for your workspace" #1226
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
Comments
potential duplicate of #1173 |
Oh dang, it is a duplicate. My bad! Should we close this one? |
Introduced by #839 which, now that I look at it, has the helpful comment:
So, we need to either live with inability to paste long lines, or inability to delete, or find/build a new input solution that supports both. Possibly some sort of text-UI/ncurses library? Your thoughts @kylecarbs @jsjoeio @bpmct |
Considering the macOS terminal doesn't support extremely long lines, I'd say we should keep to that idiom. Maybe we prefer |
I mean, presumably people can still pipe long-line inputs from file, so there is a workaround. Unclear the context when long-line pastes were causing grief. It's easy to see the grief from not being able to use backspace on a text prompt... |
Another idea is to make the long line / backspace works choice on a prompt by prompt basis. So, prompts where we expect to have people primarily paste long stuff, we pick long lines. Not very satisfying, and adds a new option every time we open a prompt, but might minimize the pain. |
Maybe even display a keybind to allow long inputs? That'd be a pretty great user experience. |
I'm not sure I know what you mean by a keybind. |
Adding a flag that forces |
Because Terraform doesn't support long input prompts like this, I'm tempted to say we should use |
literal |
Not sure, but |
My input would be that we favor the ability to delete/backspace over the ability to have long-input lines. Being able to backspace when you typo or want to change it up is pretty core expectations. |
Adding estimate of 1 to match the estimate in #1173, which is now closed as a duplicate of this one. |
I've added #1377 to track loading parameter values from file. |
OS Information
coder --version
: 0.5.1Steps to Reproduce
./coder login https://dev.coder.com
./coder workspaces create
backspace
keyExpected
It should let you delete characters in the name
Actual
Inserts
^?
Logs
Screenshot
Notes
Using
zsh
and TerminalThe text was updated successfully, but these errors were encountered: