Skip to content

OSC 133 (shell integration / semantic prompt) support #1385

@zedinosaur

Description

@zedinosaur

It would be good if mosh supported OSC 133 (which tmux and several terminals already support), which is a control sequence that specifies where the prompt ended, and where the output of the executed program starts and ends. This can then be used for some really helpful features, such as automatically scrolling to the beginning of the output of the last shell command, cycling between the last prompt inputs or selecting the entire output of the last ran command.

The spec can be found here: https://gitlab.freedesktop.org/Per_Bothner/specifications/blob/master/proposals/semantic-prompts.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions