Skip to content
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

Symfony's ConsoleQuestion does not support key navigation #1

Closed
diegoe opened this issue Mar 17, 2021 · 2 comments · Fixed by #2
Closed

Symfony's ConsoleQuestion does not support key navigation #1

diegoe opened this issue Mar 17, 2021 · 2 comments · Fixed by #2

Comments

@diegoe
Copy link

diegoe commented Mar 17, 2021

When editing the answers to the interactive add command, I run into this. Seems Symfony doesn't support keyboard navigation in line answers!

Upstream: symfony/symfony#36657
Original readline support: symfony/symfony#16458
Upstream PR, but died in draft: symfony/symfony#36700

@marvil07-adapt
Copy link
Contributor

@diegoe, thanks for the report!

Indeed, it would be nice to have that ability.

As you point out, it is likely something that should be implemented at Symfony console component.

The work-around for me is just add the text as it is on the prompt, but later

  1. edit the YAML manually, let us remember that

    YAML is a human friendly data serialization standard for all programming languages.

  2. and then run the formatter import/export process to make sure the YAML is in machine friendly idempotence.
    i.e. contriblog format

Please let me know if I misunderstood the request, and if it is something to do upstream.
Feel free to close it since implementing it at this project may likely be out of scope.

@marvil07-adapt
Copy link
Contributor

@diegoe I think PR #2 will solve this nicely.

@marvil07-adapt marvil07-adapt linked a pull request Dec 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants