Skip to content

Support OSC 7 to get current shell's directory #232

@segrey

Description

@segrey

ESC ] 7; Pt; BEL is a non standard OSC sequence, but it's supported by Terminal.app and iTerm2 on macOS. It serves the purpose of getting the current working directory of a running shell that can be displayed in the terminal tab title.

Moreover, without support for OSC 7, the logs contain Error processing OSC: ESC]7;file://...BEL

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