Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

Window.from_env_value

Find a window from an explicit TMUX_PANE value.

Source and package
Qualified name
libtmux::window::Window::from_env_value
Module
window
Declared in
Window
Package
libtmux
Source
crates/libtmux/src/window.rs
pub async fn from_env_value( server: &crate::Server, value: Option<impl AsRef<OsStr>>, ) -> Result<Option<Self>, Error>

Description#

Errors

Returns an error when the value is absent or is not a pane ID, or when the listing fails.

Parameters
Esc

Type to search.

Reference previewOpen reference