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_has_session_entry

Source
Qualified name
cmd_has_session_entry
Source
cmd-new-session.c
const struct cmd_entry cmd_has_session_entry = { .name = "has-session", .alias = "has", .args = { "t:", 0, 0 }, .usage = "[-t target-session]" , .target = { 't', CMD_FIND_SESSION, 0 }, .flags = 0, .exec = cmd_new_session_exec };

tmux command has-session

Other function references

references 1

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

Referenced by

references 1

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

Referenced declarations

type references 4

Types and data cmd_has_session_entry names in its declaration.

In libtmux

These methods send has-session.

Library methods that send tmux has-session, by scope
Language Methods
Python Server.has_session
Go Server.HasSession the request sets Pattern
C# Server.HasSessionAsync

No method in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Haskell, Common Lisp, TypeScript, Rust, Java, Clojure, Kotlin, Scala, F#, C++, Swift, OCaml, Perl, or Raku sends this command itself.

Esc

Type to search.

Reference previewOpen reference