cmd_select_window_exec
Source
- Qualified name
-
cmd_select _window _exec - Source
- cmd-select-window.c
-
tmux command
last-window,next-window,previous-window,select-window
Call neighborhood
source callsDirect 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 13Declarations cmd_select_window_exec calls directly.
- args_has function Call site ↗
- cmd_find_from_session function Call site ↗
- cmd_get_args function Call site ↗
- cmdq_error function Call site ↗
- cmdq_get_client function Call site ↗
- cmdq_get_current function Call site ↗
- cmdq_get_target function Call site ↗
- cmdq_insert_hook function Call site ↗
- recalculate_sizes function Call site ↗
- server_redraw_session function Call site ↗
- session_last function Call site ↗
- session_next function Call site ↗
- session_previous function Call site ↗
Other function references
references 2Functions cmd_select_window_exec takes as a pointer or callback. It does not call them.
- cmd_get_entry function
- session_select function
Referenced by
references 4Declarations that take cmd_select_window_exec as a pointer or callback: a reference, not a call.
- cmd_last_window_entry attribute
- cmd_next_window_entry attribute
- cmd_previous_window_entry attribute
- cmd_select_window_entry attribute
Referenced declarations
type references 16Types and data cmd_select_window_exec names in its declaration.
- cmd struct
- cmd_last_window_entry attribute
- cmd_next_window_entry attribute
- cmd_previous_window_entry attribute
- CMD_RETURN_ERROR constant
- CMD_RETURN_NORMAL constant
- cmd_retval enum
- cmdq_item struct
- cmd_find_state.current attribute
- session.curw attribute
- winlink.idx attribute
- window.latest attribute
- cmd_find_state.s attribute
- client.session attribute
- winlink.window attribute
- cmd_find_state.wl attribute
In libtmux
These methods send last-window.
| Language | Methods |
|---|---|
| Python | Session |
| Lua | Session: the direction is "last" |
| Common Lisp | client |
| TypeScript | Session the target is "last" |
| Rust | Session |
| Go | Session |
| Java | Session |
| Kotlin | Session |
| Scala | cats scaladsl |
| C# | Session |
| C++ | Session:: |
| Swift | Server |
| Raku | Session |
No method in Ruby, PowerShell, Julia, Erlang, Elixir, Haskell, Clojure, F#, OCaml, or Perl sends this command itself.
These methods send next-window.
| Language | Methods |
|---|---|
| Python | Session |
| Lua | Session: the direction is "next" |
| Common Lisp | client |
| TypeScript | Session the target is "next" |
| Rust | Session |
| Go | Session |
| Java | Session |
| Kotlin | Session |
| Scala | cats scaladsl |
| C# | Session |
| C++ | Session:: |
| Swift | Server |
| Raku | Session |
No method in Ruby, PowerShell, Julia, Erlang, Elixir, Haskell, Clojure, F#, OCaml, or Perl sends this command itself.
These methods send previous-window.
| Language | Methods |
|---|---|
| Python | Session |
| Lua | Session: the direction is "previous" |
| Common Lisp | client |
| TypeScript | Session the target is "previous" |
| Rust | Session |
| Go | Session |
| Java | Session |
| Kotlin | Session |
| Scala | cats scaladsl |
| C# | Session |
| C++ | Session:: |
| Swift | Server |
| Raku | Session |
No method in Ruby, PowerShell, Julia, Erlang, Elixir, Haskell, Clojure, F#, OCaml, or Perl sends this command itself.
These methods send select-window.
| Language | Methods |
|---|---|
| Python | Session Window |
| Ruby | Window |
| Lua | Window |
| Julia | select |
| Erlang | select/1 |
| Haskell | select select |
| Common Lisp | client |
| TypeScript | Session the target is not last, next or previous Window |
| Rust | Plan the plan has a select-window step Plan the plan has a select-window step Window |
| Go | Session Window |
| Java | Session Window |
| Kotlin | Session Window |
| Scala | cats cats scaladsl scaladsl |
| C# | Session Window |
| C++ | Window:: |
| Swift | Server |
| OCaml | select select |
| Perl | Async:: Lib |
| Raku | Window |
No method in PowerShell, Elixir, Clojure, or F# sends this command itself.