Documentation
¶
Index ¶
- func CapturePane(ctx context.Context, pane muxctx.Pane) (muxctx.ScreenSnapshot, error)
- func CapturePaneWithOptions(ctx context.Context, pane muxctx.Pane, options CaptureOptions) (muxctx.ScreenSnapshot, error)
- func Current() registry.MultiplexerContext
- func CurrentWithEnv(env Env) registry.MultiplexerContext
- func ListPanes(ctx context.Context) ([]muxctx.Pane, error)
- func ListPanesWithOptions(ctx context.Context, options ListOptions) ([]muxctx.Pane, error)
- type CaptureOptions
- type CommandRunner
- type Env
- type ListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CapturePane ¶
func CapturePaneWithOptions ¶
func CapturePaneWithOptions(ctx context.Context, pane muxctx.Pane, options CaptureOptions) (muxctx.ScreenSnapshot, error)
func Current ¶
func Current() registry.MultiplexerContext
func CurrentWithEnv ¶
func CurrentWithEnv(env Env) registry.MultiplexerContext
func ListPanesWithOptions ¶
Types ¶
type CaptureOptions ¶
type CaptureOptions struct {
Run CommandRunner
}
type ListOptions ¶
type ListOptions struct {
Run CommandRunner
LookPath func(string) (string, error)
}
Click to show internal directories.
Click to hide internal directories.