zellijctx

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CapturePane

func CapturePane(ctx context.Context, pane muxctx.Pane) (muxctx.ScreenSnapshot, error)

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 ListPanes

func ListPanes(ctx context.Context) ([]muxctx.Pane, error)

func ListPanesWithOptions

func ListPanesWithOptions(ctx context.Context, options ListOptions) ([]muxctx.Pane, error)

Types

type CaptureOptions

type CaptureOptions struct {
	Run CommandRunner
}

type CommandRunner

type CommandRunner func(context.Context, ...string) (string, error)

type Env

type Env struct {
	SessionName string
	PaneID      string
}

type ListOptions

type ListOptions struct {
	Run      CommandRunner
	LookPath func(string) (string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL