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

Pane.ResetAsync

Resets the pane's terminal state and drops its history.

Source and package
Qualified name
LibTmux.Pane.ResetAsync
Namespace
LibTmux
Declared in
Pane
Package
LibTmux
Source
src/LibTmux/Pane.Input.cs

Description

Python groups the two tmux commands so nothing runs between them. This dispatches them in turn, because the transport carries one command per call and a trailing separator would reach tmux as data.

Parameters
Returns

A replacement handle carrying the state afterwards.

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.Pane.ResetAsync.

tmux command

task material

The tmux commands behind ResetAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 3 other ports mapped

Source-verified mappings for Reset a pane's terminal state and drop its history. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Reset a pane's terminal state and drop its history in each port
PortAPIDiffers from C#
C# LibTmux.Pane.ResetAsync
Resets the pane's terminal state and drops its history.
This page
Python libtmux.Pane.reset
Reset terminal state and clear pane history.
None recorded in the model
Go tmux.Pane.Reset
Reset submits one tmux command list that resets terminal state and then clears history for the exact linked pane. The mutations are not atomic and may be partial. Only stderr makes a completed command a CommandError; nonzero exits without stderr are ignored. Transport errors are delivery-ambiguous.
None recorded in the model
Raku LibTmux::Model::PaneRef.reset
Reset terminal state and clear history in one tmux queue; failure can leave partial effects.
on PaneRef
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent.

no equivalent on Pane

No Rust equivalent.

no equivalent on Pane

No Java equivalent.

no equivalent on Pane

No C++ equivalent.

no equivalent on Pane

No Swift equivalent.

no equivalent on Pane

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc
Search in

Type to search.

Reference previewOpen reference