tmux.ts - v0.1.3
    Preparing search index...

    Variable lastWindowConst

    lastWindow: (
        options?: { targetSession?: string },
    ) => Effect<
        string,
        TmuxCommandOptionsError
        | TmuxProcessRunError,
        TmuxProcess,
    > = ...

    Select the previously selected window (tmux last-window).

    Type Declaration

      • (
            options?: { targetSession?: string },
        ): Effect<
            string,
            TmuxCommandOptionsError
            | TmuxProcessRunError,
            TmuxProcess,
        >
      • Parameters

        • Optionaloptions: { targetSession?: string }
          • Optional ReadonlytargetSession?: string

            Target session whose last (previously selected) window is selected (-t).

        Returns Effect<string, TmuxCommandOptionsError | TmuxProcessRunError, TmuxProcess>

        An empty string on success.

    await tmux.lastWindow({ targetSession: "work" });