Skip to content

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

Open
@mrbeardad

Description

@mrbeardad

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Help WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Product-TerminalThe new Windows Terminal.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions