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
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