Skip to content

Toggling multiple private modes in the same sequence #98

@acarl005

Description

@acarl005

Is your feature request related to a problem? Please describe.

This issue concerns toggling private modes, xterm docs

It is possible to emit separate sequences for each mode, e.g. \x1b[?1000h \x1b[?1006h \x1b[?1015h. When this is put through sequin it looks great.

Image

However, it is also possible to toggle multiple modes in a single sequence delimited by semi-colons, e.g. \x1b[?1000;1006;1015h, for example this is what Radare2 does when you activate visual mode. Putting that through sequin isn't quite as descriptive, i.e. only the first mode is described.

Image

Describe the solution you'd like

Having descriptions for all modes within the sequence would be very useful, maybe it would say Enable private mode "show mouse, mouse SGR ext, mouse URXVT ext". As an aside, I think it would be nice to add 1015

Describe alternatives you've considered

Not sure what else.

Happy to submit a PR if this is desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions