microsoft/Terminal

Add SGR-Pixels (mouse mode 1016)

Open

#18,591 建立於 2025年2月19日

在 GitHub 查看
 (6 留言) (5 反應) (0 負責人)C++ (3,212 fork)batch import
Area-InputArea-VTHelp WantedIssue-FeatureProduct-Terminal

倉庫指標

Star
 (35,764 star)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

Description of the new feature

Now that sixel is implemented, SGR-Pixels mouse mode would be a nice feature to have. Also helps to implement features such as, e.g., smooth scrolling.

I've searched through issues and only found two references to this feature (below), so hopefully this isn't a duplicate:

https://github.com/microsoft/terminal/issues/448#issuecomment-1010263526 with response from @j4james :

I wasn't considering 1016, but I do have a POC of the DEC locator mode. There's no point in doing either of them until we have sixel, though, because the pixel coordinates will need to be tightly coupled to the sixel resolution.

And listed as not supported here https://github.com/microsoft/terminal/issues/10531#issuecomment-872398721 from @DHowett

Would prefer 1016 over DEC Locator since it seems to be more widely used? https://github.com/dankamongmen/notcurses/issues/2326 https://github.com/wezterm/wezterm/issues/1457 https://github.com/mahmoudimus/jexer/blob/16d27b6f4182e3c2cfecd7673934ebe09782861a/README.md?plain=1#L26C1-L26C70 https://github.com/Aetf/libtsm/pull/29 https://github.com/xtermjs/xterm.js/issues/4092

Proposed technical implementation details

No response

貢獻者指南