microsoft/Terminal

Cursor appears in unfocused window when the buffer changes in tmux

开放

#12,852 创建于 2022年4月7日

 (1 条评论) (0 个反应) (0 位负责人)C++ (9,275 个派生)batch import
Area-TerminalControlHelp WantedIssue-BugPriority-2Product-Terminal

仓库指标

星标
 (103,173 个星标)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

Windows Terminal version

1.11.3471.0

Windows build number

10.0.19044.1586

Other Software

OpenSSH provided by Microsoft

Steps to reproduce

  1. SSH to a server or WSL
  2. Open tmux
  3. Unfocus the Terminal, the cursor will disappear as expected
  4. Wait for something to change in the buffer (could be tmux's statusbar, or do sleep 5 && echo hi)

Expected Behavior

I expect the cursor to not reappear until the terminal regains focus.

Actual Behavior

The cursor reappears when something changes in the buffer, making it difficult to know if the window is focused or not.

https://user-images.githubusercontent.com/13711380/162254647-d28bd968-dbfe-48e8-b30c-a3bf25949023.mp4

贡献者指南