Skip to content

IIP support detection #58

Open
Open
@AnonymouX47

Description

Hello!

Currently, I'm unable to figure out any means to detect support for IIP (in xterm.js, with this addon enabled).

The methods I'm currently aware of are:

  1. Detecting the name [and version] of the TE using either:

    • Environment variables: Unfortunately, I'm not sure these can be set by xterm.js since it doesn't directly execute the program running in the terminal.
    • XTVERSION (CSI > q): This is currently not implemented by xterm.js, it seems.

    All in all, this method would be flawed if implemented by xterm.js since this addon may or may not be enabled; plus it's less preferred since it requires an application to keep a database of TE names [and versions] that support the protocol.

  2. iTerm2's OSC 1337 ; ReportCellSize ST query (see this page).

    A number of TEs I've tested that implement the IIP also implement this query including iTerm2, Wezterm, Konsole, Termux Monet (Android).

I'd like to suggest the implementation of the later, as it is within the scope of this addon and is the preferred method.

Thank you. 🙏

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions