Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

C# API

method libtmux-dotnet latest

Pane.SendTextAsync

Namespace LibTmux.Pane.SendTextAsync LibTmux

Types text into the pane.

View as Markdown

Source and package
Module
LibTmux
Declared in
Pane
Package
LibTmux
Source
src/LibTmux/Pane.Input.cs
SendTextAsync ( text : string , enter : bool , cancellationToken : CancellationToken ) → Task
method [source]
Parameters
  • text ( string ) – The text to type.

  • enter ( bool ) – Whether Enter follows the text.

  • cancellationToken ( CancellationToken ) – Cancels the tmux commands.

Raises
  • ArgumentException – The text contains NUL.

  • LibTmuxException – Text was sent, but Enter failed. Its dispatch state is unknown, so the whole request must not be retried.

Discussed in Sending keys · Pane interaction

Esc

Type to search.