method libtmux-dotnet latest
TmuxNameGenerator.CreateAvailableWindowNameAsync
Makes a window name the session does not already hold.
Source and package
- Module
- LibTmux.Testing
- Declared in
- TmuxNameGenerator
- Package
- LibTmux
- Source
- src/LibTmux.Testing/TmuxNameGenerator.cs
-
- Parameters
-
-
session ( Session ) – The session to ask.
-
prefix ( string? ) – What the name starts with, or null for this generator's.
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux commands.
-
- Returns
-
The name.