tmuxtmuxC source reference

Choose documentation 1

3.2a

tmux source version

Latest (3.7c) 3.7c 3.2a
English

function tmux

cmd_if_shell_exec

Source
Qualified name
cmd_if_shell_exec
Source
cmd-if-shell.c
static enum cmd_retval cmd_if_shell_exec(struct cmd *, struct cmdq_item *)
Parameters

tmux command if-shell

Call neighborhood

source calls

Direct calls this declaration makes and receives, as recorded from the source.

Called by

None recorded. Reached through cmd_if_shell_entry, which reference it as a function pointer (a reference, not a call).

Direct calls recorded in this source version (tmux 3b929f3). Callback references appear separately below. Documentation here is sparse: the model has no summary for cmd_if_shell_exec.

Calls

source calls 14

Declarations cmd_if_shell_exec calls directly.

Other function references

references 3

Functions cmd_if_shell_exec takes as a pointer or callback. It does not call them.

Referenced by

references 1

Declarations that take cmd_if_shell_exec as a pointer or callback: a reference, not a call.

Referenced declarations

type references 21

Types and data cmd_if_shell_exec names in its declaration.

In libtmux

These methods send if-shell.

Library methods that send tmux if-shell, by scope
Language Methods
Python Server.if_shell
Ruby Session#kill expected windows or panes are given
Haskell breakPane breakPaneWith capture fetch joinPane joinPaneWith movePane movePaneWith waitForPaneState
TypeScript Pane.killIfWindowUnshared Server.ifShell
Go Server.IfShell
Java Shell.choose
Kotlin Shell.choose
Scala Shell.choose
C# Server.IfShellAsync
C++ Pane::break_out
Swift Server.breakPane(_:from:named:) no name is given
Raku PaneRef.reset Server.if-shell

No method in Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Rust, Clojure, F#, OCaml, or Perl sends this command itself.

Esc

Type to search.

Reference previewOpen reference