rubymotion-community / motion-provisioning

Simplified provisioning for RubyMotion iOS, tvOS and macOS apps.
Other
46 stars 20 forks source link

Typo when typing password #12

Open kobaltz opened 7 years ago

kobaltz commented 7 years ago

FYI, when entering my Apple ID and entering the corresponding password, the backspace key adds additional keystrokes instead of deleting the previous character. Services does gracefully fail and prompts for authentication again. However, this does appear to be untypical behavior.

thbar commented 7 years ago

Same behaviour today.

cmckni3 commented 5 years ago

I think I have a hacky solution in my fork.

I haven't opened a PR because I haven't had time to test it.


Personally, I would suggest using highline. AFAIK highline is already a project dependency. It could be something like below to replace the existing block of code in ask_password:

require 'highline'

cli = HighLine.new
pw = cli.ask(what(what) + ' ' + question + ' ') { |q| q.echo = "*" }

thoughts @andrewhavens?