On this page
LibTmux.Session.RenameAsync
- Module
- LibTmux
- Declared in
- Session
- Package
- LibTmux
- Source
- src/LibTmux/Session.Lifecycle.cs
- Other languages
- PythonTypeScriptRustGoJavaC++Swift
- RenameAsync ( name : string , cancellationToken : CancellationToken ) Task<Session>
-
Renames this session.
tmux expands the name as a format, so a
#in it does not survive verbatim.- Parameters
-
-
name ( string ) – The new name.
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
A replacement handle carrying the new name.
In other languages Rename a session
- Python
libtmux.Session.rename_session - TypeScript
session.Session.rename - Rust
session.Session.rename - Go
tmux.Session.Rename - Java
io.github.libtmux.Session.Session.rename - C++
libtmux::Session::rename - Swift
Server.rename(_:to:)
0 declared, 0 inherited