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.

method libtmux-dotnet latest

TmuxNameGenerator.CreateAvailableWindowNameAsync

Namespace LibTmux.Testing.TmuxNameGenerator.CreateAvailableWindowNameAsync LibTmux.Testing

Makes a window name the session does not already hold.

View as Markdown

Source and package
Module
LibTmux.Testing
Declared in
TmuxNameGenerator
Package
LibTmux
Source
src/LibTmux.Testing/TmuxNameGenerator.cs
CreateAvailableWindowNameAsync ( session : Session , prefix : string? , cancellationToken : CancellationToken ) → Task<string>
methodasync [source]
Parameters
  • session ( Session ) – The session to ask.

  • prefix ( string? ) – What the name starts with, or null for this generator's.

  • cancellationToken ( CancellationToken ) – Cancels the tmux commands.

Returns

The name.

Esc

Type to search.