Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support XTPUSHCOLORS / XTPOPCOLORS #714

Closed
christianparpart opened this issue Jun 4, 2022 · 0 comments
Closed

Support XTPUSHCOLORS / XTPOPCOLORS #714

christianparpart opened this issue Jun 4, 2022 · 0 comments
Labels
enhancement New feature or request feature-request User requested features VT: Backend Virtual Terminal Backend (libterminal API)

Comments

@christianparpart
Copy link
Member

It would be really nice to find out if there are actually any apps using these, however.

From ctlseqs.txt

CSI # P
CSI Pm # P
          Push current dynamic- and ANSI-palette colors onto stack
          (XTPUSHCOLORS), xterm.  Parameters (integers in the range 1
          through 10, since the default 0 will push) may be used to
          store the palette into the stack without pushing.

CSI # Q
CSI Pm # Q
          Pop stack to set dynamic- and ANSI-palette colors
          (XTPOPCOLORS), xterm.  Parameters (integers in the range 1
          through 10, since the default 0 will pop) may be used to
          restore the palette from the stack without popping.

CSI # R   Report the current entry on the palette stack, and the number
          of palettes stored on the stack, using the same form as
          XTPOPCOLOR (default = 0) (XTREPORTCOLORS), xterm.
@christianparpart christianparpart added enhancement New feature or request VT: Backend Virtual Terminal Backend (libterminal API) feature-request User requested features labels Jun 4, 2022
christianparpart added a commit that referenced this issue Jun 9, 2022
…colors

[terminal] Adds VT sequence `XTPUSHCOLORS`, `XTPOPCOLORS` (#714).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature-request User requested features VT: Backend Virtual Terminal Backend (libterminal API)
Projects
None yet
Development

No branches or pull requests

1 participant