Create wt -info-vt (or similar) to print list of supported VT sequences #18147

Open
opened 2026-01-31 06:05:03 +00:00 by claunia · 0 comments
Owner

Originally created by @WSLUser on GitHub (Aug 10, 2022).

Description of the new feature/enhancement

Just like the terminfo file can be auto-generated, or the VT parser FSM, it is also possible to auto-generate the list of supported VT sequences along with some additional info. Expose the list of supported VT sequences via CLI.

Allow users and terminal applications to easily determine WT VT features without need of a terminfo.

Proposed technical implementation details (optional)

Contour has done this and has a pretty nice result. However Contour relies on using Crispy, a dependency it has. See https://github.com/contour-terminal/contour/pull/731

Originally created by @WSLUser on GitHub (Aug 10, 2022). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement Just like the terminfo file can be auto-generated, or the VT parser FSM, it is also possible to auto-generate the list of supported VT sequences along with some additional info. Expose the list of supported VT sequences via CLI. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> Allow users and terminal applications to easily determine WT VT features without need of a terminfo. # Proposed technical implementation details (optional) Contour has done this and has a pretty nice result. However Contour relies on using Crispy, a dependency it has. See https://github.com/contour-terminal/contour/pull/731 <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 06:05:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18147