Cannot use cursor keys in input fields
$ gcf login
API endpoint> run.pivotal.io^^^^
...
^^^ Increasingly frustrated me trying to hit left arrow to go back to start of line.
What would be really useful would be something that respects normal bash behaviour (e.g. ctrl-A for start of line).
Which OS / terminal app are you using, @dsyer?
Ubuntu 12.04, normal terminal.
Wow, just tested it on my end. That's absolutely awful. I'll get it fixed this week.
Hi Dave,
There's no currently supported library for readline in Go, so we will need to write one. This is still on our radar, but won't be included in the 6.0.0 release. In the meantime, the delete key is your best bet.
Suggest we close this issue until a good readline library in Go is implemented. We certainly haven't prioritized this work, and it doesn't seem likely that the team will be able to prioritize it for a while (even though I personally think this would be incredibly valuable).
If someone implements readline in Go, we can reopen.
Libraries on github claiming to support readline - https://github.com/search?q=readline+go
On Fri, May 16, 2014 at 11:45 AM, David Lee [email protected]:
Closed #59 https://github.com/cloudfoundry/cli/issues/59.
— Reply to this email directly or view it on GitHubhttps://github.com/cloudfoundry/cli/issues/59#event-122013947 .
Dr Nic Williams Stark & Wayne LLC - consultancy for Cloud Foundry users http://drnicwilliams.com http://starkandwayne.com cell +1 (415) 860-2185 twitter @drnic
Looks like most of those are just bindings to the C library using CGO.
We really need a library that is written in pure go with support for windows. I've been hacking on one, but it's slow going.
Sent From A Very Small Keyboard
On May 16, 2014, at 11:58, Dr Nic Williams [email protected] wrote:
Libraries on github claiming to support readline - https://github.com/search?q=readline+go
On Fri, May 16, 2014 at 11:45 AM, David Lee [email protected]:
Closed #59 https://github.com/cloudfoundry/cli/issues/59.
— Reply to this email directly or view it on GitHubhttps://github.com/cloudfoundry/cli/issues/59#event-122013947 .
Dr Nic Williams Stark & Wayne LLC - consultancy for Cloud Foundry users http://drnicwilliams.com http://starkandwayne.com cell +1 (415) 860-2185 twitter @drnic — Reply to this email directly or view it on GitHub.