Skip to content

Add SGR-Pixels (mouse mode 1016) #18591

@salt-die

Description

@salt-die

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:

#448 (comment) 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 #10531 (comment) from @DHowett

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

Proposed technical implementation details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-InputRelated to input processing (key presses, mouse, etc.)Area-VTVirtual Terminal sequence supportHelp WantedWe encourage anyone to jump in on these.Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions