Open greened opened 3 years ago
According to the discussion in emacs-libvterm/issues/454, mosh needs support for OSC 51.
See the first comment of #637 for a possible start at implementing this. I don't know how to pass an OSC through to the terminal.
I use libvterm inside emacs to run terminals. As described here, libvterm-emacs relies on various escape sequences in the shell prrompt to track the curernt directory. The tracking works with ssh but does not work with mosh.
I have filed a companion issue against libvterm-emacs. I do not know for certain what is going on but I suspect maybe mosh is neglecting to send some of the escape sequences through.