Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

Server.CreateSessionWithReceiptAsync

Creates a session and returns its initial window and pane identities.

Source and package
Qualified name
LibTmux.Server.CreateSessionWithReceiptAsync
Namespace
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Lifecycle.cs

Description

The returned session is bound to the creating daemon. Its child identifiers are creation-time facts, not a snapshot or a promise that the children still belong to the session. A failed readback publishes no receipt or cleanup ownership.

Parameters
Returns

The created session and child identifiers from the same creation reply.

Errors

Recorded calls

source calls
No call edges in the C# model.

The C# 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.CreateSessionWithReceiptAsync.

tmux command

task material

The tmux commands behind CreateSessionWithReceiptAsync.

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
Esc
Search in

Type to search.

Reference previewOpen reference