Core LibraryunreleasedAPI reference

Choose documentation 1

latest

Current version

latest
English

Unreleased libtmux-haskell has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-haskell

runProgram

Wait for a terminal application, capture its bounded final rendered output, and clean up before returning a detached result. Cancellation initiates bounded cleanup. Set executionTimeout for an owning setup/observation deadline; cleanup has a separate budget. Without it there is no total limit.

Source and package
Qualified name
LibTmux.Server.runProgram
Declared in
LibTmux.Server
Package
libtmux-haskell
Source
src/LibTmux/Server.hs

Recorded calls

source calls
No call edges in the Haskell model.

The Haskell reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Server.runProgram.

Referenced declarations

type references 3

Types and data runProgram names in its declaration.

tmux command

task material

The tmux commands behind runProgram.

capture-pane delete-buffer kill-session (when the owned session still exists) new-session resize-window save-buffer set-option wait-for display-message has-session (when an owned creation receipt was retained)

tmux C API

task material

The C declarations in tmux that implement these commands.

Each path starts at a function a command runs, which is degree 1. The degree counts steps from there along the path, and each step is a call or a reference: degree 2 is reached from that function, degree 3 from the next, and so on.

Create a session and its first pane

  1. 1 cmd_new_session_exec
  2. calls → 2 spawn_window
  3. calls → 3 spawn_pane
  4. calls → 4 window_add_pane
  5. calls → 5 window_pane_create

Guides

task material

Pages that discuss runProgram.

Esc
Search in

Type to search.

Reference previewOpen reference