need dist for plugins
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
18
dist/shared/tmux/tmux-utils/layout.d.ts
vendored
Normal file
18
dist/shared/tmux/tmux-utils/layout.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import type { TmuxLayout } from "../../../config/schema";
|
||||
type TmuxSpawnCommand = (args: string[], options: {
|
||||
stdout: "ignore";
|
||||
stderr: "ignore";
|
||||
}) => {
|
||||
exited: Promise<number>;
|
||||
};
|
||||
interface LayoutDeps {
|
||||
spawnCommand?: TmuxSpawnCommand;
|
||||
}
|
||||
interface MainPaneWidthOptions {
|
||||
mainPaneSize?: number;
|
||||
mainPaneMinWidth?: number;
|
||||
agentPaneMinWidth?: number;
|
||||
}
|
||||
export declare function applyLayout(tmux: string, layout: TmuxLayout, mainPaneSize: number, deps?: LayoutDeps): Promise<void>;
|
||||
export declare function enforceMainPaneWidth(mainPaneId: string, windowWidth: number, mainPaneSizeOrOptions?: number | MainPaneWidthOptions): Promise<void>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user