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.

Swift API

method libtmux-swift latest

Server.cancelModes(in:)

Idempotently clears the entire mode stack of a pane.

Source and package
Qualified name
Server.cancelModes(in:)
Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Navigation.swift
cancelModes(in: Pane) -> ()

Description#

This is not an inverse specific to enterCopyMode(_:). tmux's copy-mode -q cancels every active pane mode, including modes entered by a client or by another command. A pane already outside a mode is success.

Parameters
Raises

tmux command#

The tmux commands behind cancelModes(in:).

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference