method libtmux-dotnet latest
Pane.SendTextAsync
Types text into the pane.
Source and package
- Module
- LibTmux
- Declared in
- Pane
- Package
- LibTmux
- Source
- src/LibTmux/Pane.Input.cs
-
- Parameters
-
-
text ( string ) – The text to type.
-
enter ( bool ) – Whether Enter follows the text.
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux commands.
-
- Raises
-
-
Argument
Exception – The text contains NUL. -
Lib
Tmux – Text was sent, but Enter failed. Its dispatch state is unknown, so the whole request must not be retried.Exception
-
Discussed in Sending keys · Pane interaction