-
Notifications
You must be signed in to change notification settings - Fork 137
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
Backspace not working #16
Comments
The backspace key is working for me, so it must depend on how input is being gathered. Can you tell me what this prints for you?
|
Output is this:
Claus |
This issue looks VERY similar to issue 17 #17 which was a problem with a missing ERASE_LINE constant. I submitted a pull request that is one way to fix my issue (and if these two issues are really the same issue, it might fix this too). Then again, as this one isn't setting the overwrite, they are likely different. But the error message with both is identical. |
I have release HighLine 1.6.6 with your fix in it. Does that solve this issue for you? |
My pull request (issue 18) contained one mistake. The argument to HighLine.Style() was a string when it should have been a symbol. I just submitted a new pull request (issue 19) to correct my mistake. Sorry about that! |
I've released 1.6.7 with the new fix. Please let me know if it solves this issue. |
1.6.7 fixes my problem (issue #17, 18, and 19). Thank you! When I try cfbrobak's example code, I do not get an error, but I am not running JRuby. |
Fix for missing constant ERASE_CHAR (issue #16)
I've release 1.6.8 with this new fix, so I'm going to assume this is now solved. Just open a new issue if that's not the case. |
Environment:
Scenario:
Line 3 prompts for a password and "12345" is entered. It works as expected.
Line 4 prompts for a password and "12345" followed by a "backspace" is entered. Highline responds with an error "You must enter a valid HighLine::String".
Claus
The text was updated successfully, but these errors were encountered: