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

NewWindowOptions.replace_existing

Replace whatever already occupies the target index.

Source and package
Qualified name
libtmux::session::NewWindowOptions::replace_existing
Module
session
Declared in
NewWindowOptions
Package
libtmux
Source
crates/libtmux/src/session.rs
pub const fn replace_existing(mut self) -> Self

Description#

Without this, an index that is taken is an error rather than a silent overwrite.

Esc

Type to search.

Reference previewOpen reference