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

Session.CreateWindowWithReceiptAsync

Creates a window and returns its initial pane identity.

Source and package
Qualified name
LibTmux.Session.CreateWindowWithReceiptAsync
Namespace
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Lifecycle.cs

Description

Rejects SelectExisting before dispatch because an existing window has no creation receipt. The pane identifier comes from creation, not a later listing; the pane may have moved or disappeared before readback. A failed readback publishes no receipt or cleanup ownership.

Parameters
Returns

The created window in this session and its initial pane identifier.

Errors
  • ArgumentException – The request may select an existing window.

  • LibTmuxException – Creation or readback failed; a failure after creation has unknown dispatch outcome.

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.Session.CreateWindowWithReceiptAsync.

tmux command

task material

The tmux commands behind CreateWindowWithReceiptAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

Esc
Search in

Type to search.

Reference previewOpen reference