tmuxtmuxC source reference

Choose documentation 1

latest

tmux source version

Latest (3.7c) 3.7c 3.2a
English

tmux C API

function tmux

cmd_select_window_exec

Source
Qualified name
cmd_select_window_exec
Source
cmd-select-window.c
static enum cmd_retval cmd_select_window_exec(struct cmd *, struct cmdq_item *)
Parameters

tmux command last-window, next-window, previous-window, select-window

Call neighborhood

source calls

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

Called by

None recorded. Reached through cmd_last_window_entry, cmd_next_window_entry and cmd_previous_window_entry and 1 more, which reference it as a function pointer (a reference, not a call).

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

Calls

source calls 13

Declarations cmd_select_window_exec calls directly.

Other function references

references 2

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

Referenced by

references 4

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

Referenced declarations

type references 16

Types and data cmd_select_window_exec names in its declaration.

In libtmux

These methods send last-window.

Library methods that send tmux last-window, by scope
Language Methods
Python Session.last_window
Lua Session:navigate_window the direction is "last"
Common Lisp client.last-window
TypeScript Session.selectWindow the target is "last"
Rust Session.last_window
Go Session.LastWindow
Java Session.lastWindow
Kotlin Session.lastWindow
Scala cats.Session.lastWindow scaladsl.Session.lastWindow
C# Session.SelectLastWindowAsync
C++ Session::select_last_window
Swift Server.selectLastWindow(in:)
Raku SessionRef.last-window

No method in Ruby, PowerShell, Julia, Erlang, Elixir, Haskell, Clojure, F#, OCaml, or Perl sends this command itself.

These methods send next-window.

Library methods that send tmux next-window, by scope
Language Methods
Python Session.next_window
Lua Session:navigate_window the direction is "next"
Common Lisp client.next-window
TypeScript Session.selectWindow the target is "next"
Rust Session.next_window
Go Session.NextWindow
Java Session.nextWindow
Kotlin Session.nextWindow
Scala cats.Session.nextWindow scaladsl.Session.nextWindow
C# Session.SelectNextWindowAsync
C++ Session::select_next_window
Swift Server.selectNextWindow(in:)
Raku SessionRef.next-window

No method in Ruby, PowerShell, Julia, Erlang, Elixir, Haskell, Clojure, F#, OCaml, or Perl sends this command itself.

These methods send previous-window.

Library methods that send tmux previous-window, by scope
Language Methods
Python Session.previous_window
Lua Session:navigate_window the direction is "previous"
Common Lisp client.previous-window
TypeScript Session.selectWindow the target is "previous"
Rust Session.previous_window
Go Session.PreviousWindow
Java Session.previousWindow
Kotlin Session.previousWindow
Scala cats.Session.previousWindow scaladsl.Session.previousWindow
C# Session.SelectPreviousWindowAsync
C++ Session::select_previous_window
Swift Server.selectPreviousWindow(in:)
Raku SessionRef.previous-window

No method in Ruby, PowerShell, Julia, Erlang, Elixir, Haskell, Clojure, F#, OCaml, or Perl sends this command itself.

These methods send select-window.

Esc

Type to search.

Reference previewOpen reference