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

NewWindow.focus

Leave the new window, and so its pane, active.

Source and package
Qualified name
libtmux::plan::ops::windows::NewWindow::focus
Module
plan.ops.windows
Declared in
NewWindow
Package
libtmux
Source
crates/libtmux/src/plan/ops/windows.rs
#[must_use] pub const fn focus(mut self) -> Self

Description#

A focused creation is what makes the {marked} fold available: the register the fold marks is the active pane.

Esc

Type to search.

Reference previewOpen reference