Theia API Documentation v1.70.0
    Preparing search index...
    • Cleans a shell-reported terminal title by stripping shell prefixes and extracting the base command name. Returns an empty string for CWD/prompt-style titles (e.g. /home/user/project, user@host:~/path) to signal that the title should not be updated.

      Parameters

      • title: string

      Returns string