tmux.Session.SelectWindow
Go
- Python
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust Unavailable
- Go
- Java
- .NET
- C++ Unavailable
- Swift Unavailable
- Module
- tmux
- Declared in
- Session
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/session_navigation.go
- Other languages
- Python Ruby Lua TypeScript Rust Java.NET C++ Swift
- SelectWindow ( ctx : context.Context , request : SelectWindowRequest ) (Window, error)
-
SelectWindow makes one winlink current in the receiver session and returns that freshly materialized session-specific
Window. WindowID is combined with the receiver SessionID, because a WindowID alone does not distinguish linked views. The selection is session-scoped; it does not promise focus for clients attached to other sessions.Command or refresh failures return zero because the selected view cannot be identified without refresh. Transport errors are delivery-ambiguous.
In other ports Make a window of a session active
- Python
libtmux.Session.select_window - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
session.Session.selectWindow - Rust no equivalent on
Session - Java
io.github.libtmux.Session.Session.selectWindow - .NET
LibTmux.Session.SelectWindowAsync - C++ no equivalent on
Session - Swift no equivalent on
Session
- Python
0 declared, 0 inherited