microsoft/Terminal

Add SGR-Pixels (mouse mode 1016)

Open

#18.591 aperta il 19 feb 2025

Vedi su GitHub
 (6 commenti) (5 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-InputArea-VTHelp WantedIssue-FeatureProduct-Terminal

Metriche repository

Star
 (35.764 star)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

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

Guida contributor