tmux  3.2a
About: tmux is a terminal multiplexer that lets you switch easily between several programs in one terminal.
  Fossies Dox: tmux-3.2a.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cmd-list-panes.c File Reference
#include <sys/types.h>
#include <stdlib.h>
#include "tmux.h"
Include dependency graph for cmd-list-panes.c:

Go to the source code of this file.

Functions

static enum cmd_retval cmd_list_panes_exec (struct cmd *, struct cmdq_item *)
 
static void cmd_list_panes_server (struct cmd *, struct cmdq_item *)
 
static void cmd_list_panes_session (struct cmd *, struct session *, struct cmdq_item *, int)
 
static void cmd_list_panes_window (struct cmd *, struct session *, struct winlink *, struct cmdq_item *, int)
 

Variables

const struct cmd_entry cmd_list_panes_entry
 

Function Documentation

◆ cmd_list_panes_exec()

static enum cmd_retval cmd_list_panes_exec ( struct cmd self,
struct cmdq_item item 
)
static

Definition at line 34 of file cmd-list-panes.c.

◆ cmd_list_panes_server()

static void cmd_list_panes_server ( struct cmd self,
struct cmdq_item item 
)
static

Definition at line 69 of file cmd-list-panes.c.

References cmd_list_panes_session(), and sessions.

◆ cmd_list_panes_session()

static void cmd_list_panes_session ( struct cmd self,
struct session s,
struct cmdq_item item,
int  type 
)
static

Definition at line 78 of file cmd-list-panes.c.

References cmd_list_panes_window(), and session::windows.

Referenced by cmd_list_panes_server().

◆ cmd_list_panes_window()

static void cmd_list_panes_window ( struct cmd self,
struct session s,
struct winlink wl,
struct cmdq_item item,
int  type 
)
static

Variable Documentation

◆ cmd_list_panes_entry

const struct cmd_entry cmd_list_panes_entry
Initial value:
= {
.name = "list-panes",
.alias = "lsp",
.args = { "asF:f:t:", 0, 0 },
.usage = "[-as] [-F format] [-f filter] " "[-t target-window]" ,
.target = { 't', CMD_FIND_WINDOW, 0 },
.flags = 0x4 ,
}
static enum cmd_retval cmd_list_panes_exec(struct cmd *, struct cmdq_item *)
@ CMD_FIND_WINDOW
Definition: tmux.h:1444

Definition at line 34 of file cmd-list-panes.c.