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

    Variable previousWindowConst

    previousWindow: (
        options?: { alert?: boolean; targetSession?: string },
    ) => Effect<
        string,
        TmuxCommandOptionsError
        | TmuxProcessRunError,
        TmuxProcess,
    > = ...

    Select the previous window (tmux previous-window).

    Type Declaration

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

        • Optionaloptions: { alert?: boolean; targetSession?: string }
          • Optional Readonlyalert?: boolean

            Move to the previous window with an alert instead of simply the previous window (-a).

          • Optional ReadonlytargetSession?: string

            Target session whose previous window is selected (-t).

        Returns Effect<string, TmuxCommandOptionsError | TmuxProcessRunError, TmuxProcess>

        An empty string on success.

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