klyn.gui.windows.TerminalView.cwd
signal

    public signal property cwd as String:

Description

Current working directory tracked by the terminal.

Setting `cwd` before the shell is started controls its startup folder. Setting it while the shell is running sends a `cd` command to the pseudo-terminal. Interactive shell-side directory changes are reflected automatically when the shell emits the standard OSC 7 current-directory escape sequence.

    terminal.cwd = Path.userHome.toString()
    Binding.watch(terminal::cwd, lambda(value: Object): print(value))