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

[improvement] consider hiding cursor in prompt input during command confirmation #183

Conversation

Jurredr
Copy link
Contributor

@Jurredr Jurredr commented Nov 22, 2024

Problem

Currently, when a command is waiting to be confirmed to be sent, the cursor still blinks in the prompt input textarea, even though the user can't type anything. Someone reported this as unexpected behavior, so an alternative should be considered.

Solution

Cursor is hidden when in command confirmation state. Also, now the command confirmation only shows up when a command is selected in the list through either tab or space (so enter / clicking will instantly send the command again, except for when there are arguments / parameters of course).

Tests

  • I have tested this change on VSCode
  • I have tested this change on JetBrains

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sorry, something went wrong.

@Jurredr Jurredr added the improvement Improvement of an existing feature label Nov 22, 2024
@Jurredr Jurredr self-assigned this Nov 22, 2024
@Jurredr Jurredr requested a review from a team as a code owner November 22, 2024 16:08
@Jurredr Jurredr merged commit 27514f4 into main Nov 22, 2024
1 check passed
@Jurredr Jurredr deleted the 178-improvement-consider-hiding-cursor-in-prompt-input-during-command-confirmation branch November 22, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[improvement] Consider hiding cursor in prompt input during command confirmation
2 participants