Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

error.Error.OptionScopeMismatch

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
error
Declared in
Error
Package
libtmux
Source
crates/libtmux/src/error.rs
OptionScopeMismatch
constant [source]
constant [source]
OptionScopeMismatch

The handle's scope is not one tmux keeps this option in.

Raised instead of sending the write, because tmux would not refuse it. tmux resolves an option by name rather than by the flags it was sent with, so mouse through a pane handle becomes the whole session's mouse and reports success. Reading it back through the same handle resolves the same way and agrees, so nothing downstream notices.

crate::OptionSchema::accepts answers ahead of the call, for a caller choosing a handle rather than reacting to a refusal.

Discussed in Options and hooks

0 declared, 0 inherited

Esc

Type to search.