Skip to content

Ignore OSC 7 notifications if host name is not terminal host? #20072

Description

@krobelus

I've not read through all of #8214 and #3158,
but in the recently added support for OSC 7, it looks like when we receive file://someremoteserver/tmp, we set the working directory for new tabs to /tmp.
This is wrong, because new tabs are opened on the local system.
We should check that it matches (the equivalent of) gethostname() and some other cases, see foot source code for example.
cc @lhecker (I wanted to comment on the commit directly but can't right now for some reason (at least when using the Web UI)).

See also:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-TerminalConnectionIssues pertaining to the terminal<->backend connection interfaceIssue-BugIt either shouldn't be doing this or needs an investigation.Product-TerminalThe new Windows Terminal.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    To Cherry Pick

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions