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

How to avoid changing cursorShape when focus terminal window if I set unfocusedAppearance #18174

Open
mrbeardad opened this issue Nov 11, 2024 · 1 comment
Labels
Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.
Milestone

Comments

@mrbeardad
Copy link

mrbeardad commented Nov 11, 2024

Windows Terminal version

1.21.2911.0

Windows build number

10.0.22631.0

Other Software

NVIM v0.10.2

Steps to reproduce

  1. snippet in settings.json
 "opacity": 50,
 "cursorShape": "underscore",
 "unfocusedAppearance": {
      "opacity": 90
 },
  1. open nvim, current cursor shape is block
  2. press alt+tab to focus another window, then press it again to focus back to terminal
  3. cursor shape changes to underscore. (If I delete the unfocusedAppearance in settings.json, the cursor shape does not change after focus back)

Expected Behavior

When I set unfocusedAppearance, do not change my cursor shape after focus back to terminal window.

Actual Behavior

Cursor shape changes to underscore that I set in cursorShape.

@mrbeardad mrbeardad added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 11, 2024
@carlos-zamora
Copy link
Member

Good catch. Thanks for filing! We shouldn't be doing this.

@carlos-zamora carlos-zamora added Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Product-Terminal The new Windows Terminal. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 13, 2024
@carlos-zamora carlos-zamora added this to the Backlog milestone Nov 13, 2024
@carlos-zamora carlos-zamora added the Help Wanted We encourage anyone to jump in on these. label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

2 participants