Hide cursor in embedded terminal when not focused#52404
Merged
Veykril merged 2 commits intozed-industries:mainfrom Mar 30, 2026
Merged
Hide cursor in embedded terminal when not focused#52404Veykril merged 2 commits intozed-industries:mainfrom
Veykril merged 2 commits intozed-industries:mainfrom
Conversation
Contributor
Author
|
@Veykril Can u see it please? |
Contributor
|
The comment on line 764 says |
Contributor
Author
|
You're right I should update it to clarify that the "always show" logic only applies to Standalone mode. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Fixes #52063

This change hides the cursor in embedded terminal mode when not focused. Embedded mode is used for read-only terminal output (like the Agent panel). Showing a cursor in a read-only context when unfocused is confusing, so we suppress it.
How to Review
The change is in a single file:
crates/terminal_view/src/terminal_view.rs:754-761.Focus on the
should_show_cursor()methodVerify the logic correctly hides the cursor only when both conditions are met (Embedded mode AND not focused).
Self-Review Checklist
Release Notes: