tmuxtmuxC source reference

Choose documentation 1

3.2a

tmux source version

Latest (3.7c) 3.7c 3.2a
English

tmux C API

attribute tmux

cmd_if_shell_entry

Source
Qualified name
cmd_if_shell_entry
Source
cmd-if-shell.c
const struct cmd_entry cmd_if_shell_entry = { .name = "if-shell", .alias = "if", .args = { "bFt:", 2, 3 }, .usage = "[-bF] " "[-t target-pane]" " shell-command command " "[command]", .target = { 't', CMD_FIND_PANE, 0x40 }, .flags = 0, .exec = cmd_if_shell_exec };

tmux command if-shell

Other function references

references 1

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

Referenced declarations

type references 3

Types and data cmd_if_shell_entry 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