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

Cursor Focus Issue: Unwanted Return to Text Area #1050

Closed
3 tasks done
Tracked by #1009
LangLangBart opened this issue Mar 30, 2024 · 0 comments
Closed
3 tasks done
Tracked by #1009

Cursor Focus Issue: Unwanted Return to Text Area #1050

LangLangBart opened this issue Mar 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LangLangBart
Copy link
Contributor

LangLangBart commented Mar 30, 2024

Before submitting your bug report

Relevant environment info

- OS: macOS
- Continue: 0.9.100
- IDE: VSCode

Description

The cursor always moves back into the text area after a response has been completed even if the user started doing something else, like in the editor or the terminal.

Additionally, when launching the VSCode app with Continue visible in the Side Bar, the text area gains focus once VSCode has been fully loaded.

The change came with: 8087465 (gui/src/components/mainInput/TipTapEditor.tsx)


Intended behavior:
As long as the user hasn't shifted their focus, keep the cursor focus in the text area; otherwise, do not.

To reproduce

  1. Enter something in the continue GUI, for example hi
  2. Press ⏎ Enter and move your cursor to the terminal.
  3. Notice that when the LLM finished its response, your focus is no longer in the terminal. It has shifted back into the text area.

Log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants