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

    Variable listWindowsConst

    listWindows: FormattedFn<
        { all?: boolean; filter?: string; targetSession?: string },
        [],

            | "window_id"
            | "window_index"
            | "window_name"
            | "window_raw_flags"
            | "window_panes"
            | "window_width"
            | "window_height"
            | "window_layout"
            | "window_active",
        TmuxParseError
        | TmuxCommandOptionsError
        | TmuxProcessRunError,
    > = ...

    List tmux windows (tmux list-windows).

    One record per window.

    const windows = await tmux.listWindows({ targetSession: "work" });