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)  

tmux.h File Reference
#include <sys/time.h>
#include <sys/uio.h>
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
#include <termios.h>
#include "compat.h"
#include "xmalloc.h"
Include dependency graph for tmux.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  msg_command
 
struct  msg_read_open
 
struct  msg_read_data
 
struct  msg_read_done
 
struct  msg_write_open
 
struct  msg_write_data
 
struct  msg_write_ready
 
struct  msg_write_close
 
struct  utf8_data
 
struct  grid_cell
 
struct  grid_extd_entry
 
struct  grid_cell_entry
 
struct  grid_line
 
struct  grid
 
struct  grid_reader
 
struct  style_range
 
struct  style
 
struct  screen
 
struct  screen_write_ctx
 
struct  screen_redraw_ctx
 
struct  menu_item
 
struct  menu
 
struct  window_mode
 
struct  window_mode_entry
 
struct  window_pane_offset
 
struct  window_pane_resize
 
struct  window_pane
 
struct  window
 
struct  winlink
 
struct  layout_cell
 
struct  environ_entry
 
struct  session_group
 
struct  session
 
struct  mouse_event
 
struct  key_event
 
struct  tty_key
 
struct  tty_term
 
struct  tty
 
struct  tty_ctx
 
struct  message_entry
 
struct  args
 
struct  cmd_find_state
 
struct  cmd_list
 
struct  cmd_parse_result
 
struct  cmd_parse_input
 
struct  cmd_entry_flag
 
struct  cmd_entry
 
struct  status_line_entry
 
struct  status_line
 
struct  client_file
 
struct  client_window
 
struct  client
 
struct  key_binding
 
struct  key_table
 
union  options_value
 
struct  options_table_entry
 
struct  options_name_map
 
struct  spawn_context
 
struct  mode_tree_sort_criteria
 

Macros

#define PROTOCOL_VERSION   8
 
#define TMUX_CONF   "/etc/tmux.conf:~/.tmux.conf"
 
#define TMUX_SOCK   "$TMUX_TMPDIR:" _PATH_TMP
 
#define PANE_MINIMUM   1
 
#define WINDOW_MINIMUM   PANE_MINIMUM
 
#define WINDOW_MAXIMUM   10000
 
#define NAME_INTERVAL   500000
 
#define DEFAULT_XPIXEL   16
 
#define DEFAULT_YPIXEL   32
 
#define printflike(a, b)   __attribute__ ((format (printf, a, b)))
 
#define nitems(_a)   (sizeof((_a)) / sizeof((_a)[0]))
 
#define ALERT_NONE   0
 
#define ALERT_ANY   1
 
#define ALERT_CURRENT   2
 
#define ALERT_OTHER   3
 
#define VISUAL_OFF   0
 
#define VISUAL_ON   1
 
#define VISUAL_BOTH   2
 
#define KEYC_NONE   0x000ff000000000ULL
 
#define KEYC_UNKNOWN   0x000fe000000000ULL
 
#define KEYC_BASE   0x0000000010e000ULL
 
#define KEYC_USER   0x0000000010f000ULL
 
#define KEYC_META   0x00100000000000ULL
 
#define KEYC_CTRL   0x00200000000000ULL
 
#define KEYC_SHIFT   0x00400000000000ULL
 
#define KEYC_LITERAL   0x01000000000000ULL
 
#define KEYC_KEYPAD   0x02000000000000ULL
 
#define KEYC_CURSOR   0x04000000000000ULL
 
#define KEYC_IMPLIED_META   0x08000000000000ULL
 
#define KEYC_BUILD_MODIFIERS   0x10000000000000ULL
 
#define KEYC_MASK_MODIFIERS   0x00f00000000000ULL
 
#define KEYC_MASK_FLAGS   0xff000000000000ULL
 
#define KEYC_MASK_KEY   0x000fffffffffffULL
 
#define KEYC_NUSER   1000
 
#define KEYC_IS_MOUSE(key)
 
#define KEYC_IS_UNICODE(key)
 
#define KEYC_CLICK_TIMEOUT   300
 
#define KEYC_MOUSE_KEY(name)
 
#define KEYC_MOUSE_STRING(name, s)
 
#define MODEKEY_EMACS   0
 
#define MODEKEY_VI   1
 
#define MODE_CURSOR   0x1
 
#define MODE_INSERT   0x2
 
#define MODE_KCURSOR   0x4
 
#define MODE_KKEYPAD   0x8
 
#define MODE_WRAP   0x10
 
#define MODE_MOUSE_STANDARD   0x20
 
#define MODE_MOUSE_BUTTON   0x40
 
#define MODE_BLINKING   0x80
 
#define MODE_MOUSE_UTF8   0x100
 
#define MODE_MOUSE_SGR   0x200
 
#define MODE_BRACKETPASTE   0x400
 
#define MODE_FOCUSON   0x800
 
#define MODE_MOUSE_ALL   0x1000
 
#define MODE_ORIGIN   0x2000
 
#define MODE_CRLF   0x4000
 
#define MODE_KEXTENDED   0x8000
 
#define ALL_MODES   0xffffff
 
#define ALL_MOUSE_MODES   (MODE_MOUSE_STANDARD|MODE_MOUSE_BUTTON|MODE_MOUSE_ALL)
 
#define MOTION_MOUSE_MODES   (MODE_MOUSE_BUTTON|MODE_MOUSE_ALL)
 
#define UTF8_SIZE   21
 
#define COLOUR_FLAG_256   0x01000000
 
#define COLOUR_FLAG_RGB   0x02000000
 
#define COLOUR_DEFAULT(c)   ((c) == 8 || (c) == 9)
 
#define GRID_ATTR_BRIGHT   0x1
 
#define GRID_ATTR_DIM   0x2
 
#define GRID_ATTR_UNDERSCORE   0x4
 
#define GRID_ATTR_BLINK   0x8
 
#define GRID_ATTR_REVERSE   0x10
 
#define GRID_ATTR_HIDDEN   0x20
 
#define GRID_ATTR_ITALICS   0x40
 
#define GRID_ATTR_CHARSET   0x80 /* alternative character set */
 
#define GRID_ATTR_STRIKETHROUGH   0x100
 
#define GRID_ATTR_UNDERSCORE_2   0x200
 
#define GRID_ATTR_UNDERSCORE_3   0x400
 
#define GRID_ATTR_UNDERSCORE_4   0x800
 
#define GRID_ATTR_UNDERSCORE_5   0x1000
 
#define GRID_ATTR_OVERLINE   0x2000
 
#define GRID_ATTR_ALL_UNDERSCORE
 
#define GRID_FLAG_FG256   0x1
 
#define GRID_FLAG_BG256   0x2
 
#define GRID_FLAG_PADDING   0x4
 
#define GRID_FLAG_EXTENDED   0x8
 
#define GRID_FLAG_SELECTED   0x10
 
#define GRID_FLAG_NOPALETTE   0x20
 
#define GRID_FLAG_CLEARED   0x40
 
#define GRID_LINE_WRAPPED   0x1
 
#define GRID_LINE_EXTENDED   0x2
 
#define GRID_LINE_DEAD   0x4
 
#define GRID_HISTORY   0x1 /* scroll lines into history */
 
#define SCREEN_WRITE_SYNC   0x1
 
#define screen_size_x(s)   ((s)->grid->sx)
 
#define screen_size_y(s)   ((s)->grid->sy)
 
#define screen_hsize(s)   ((s)->grid->hsize)
 
#define screen_hlimit(s)   ((s)->grid->hlimit)
 
#define PANE_REDRAW   0x1
 
#define PANE_DROP   0x2
 
#define PANE_FOCUSED   0x4
 
#define PANE_FOCUSPUSH   0x20
 
#define PANE_INPUTOFF   0x40
 
#define PANE_CHANGED   0x80
 
#define PANE_EXITED   0x100
 
#define PANE_STATUSREADY   0x200
 
#define PANE_STATUSDRAWN   0x400
 
#define PANE_EMPTY   0x800
 
#define PANE_STYLECHANGED   0x1000
 
#define WINDOW_BELL   0x1
 
#define WINDOW_ACTIVITY   0x2
 
#define WINDOW_SILENCE   0x4
 
#define WINDOW_ZOOMED   0x8
 
#define WINDOW_WASZOOMED   0x10
 
#define WINDOW_RESIZE   0x20
 
#define WINDOW_ALERTFLAGS   (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE)
 
#define WINLINK_BELL   0x1
 
#define WINLINK_ACTIVITY   0x2
 
#define WINLINK_SILENCE   0x4
 
#define WINLINK_ALERTFLAGS   (WINLINK_BELL|WINLINK_ACTIVITY|WINLINK_SILENCE)
 
#define WINDOW_SIZE_LARGEST   0
 
#define WINDOW_SIZE_SMALLEST   1
 
#define WINDOW_SIZE_MANUAL   2
 
#define WINDOW_SIZE_LATEST   3
 
#define PANE_STATUS_OFF   0
 
#define PANE_STATUS_TOP   1
 
#define PANE_STATUS_BOTTOM   2
 
#define PANE_LINES_SINGLE   0
 
#define PANE_LINES_DOUBLE   1
 
#define PANE_LINES_HEAVY   2
 
#define PANE_LINES_SIMPLE   3
 
#define PANE_LINES_NUMBER   4
 
#define ENVIRON_HIDDEN   0x1
 
#define SESSION_PASTING   0x1
 
#define SESSION_ALERTED   0x2
 
#define MOUSE_MASK_BUTTONS   3
 
#define MOUSE_MASK_SHIFT   4
 
#define MOUSE_MASK_META   8
 
#define MOUSE_MASK_CTRL   16
 
#define MOUSE_MASK_DRAG   32
 
#define MOUSE_MASK_WHEEL   64
 
#define MOUSE_WHEEL_UP   0
 
#define MOUSE_WHEEL_DOWN   1
 
#define MOUSE_BUTTONS(b)   ((b) & MOUSE_MASK_BUTTONS)
 
#define MOUSE_WHEEL(b)   ((b) & MOUSE_MASK_WHEEL)
 
#define MOUSE_DRAG(b)   ((b) & MOUSE_MASK_DRAG)
 
#define MOUSE_RELEASE(b)   (((b) & MOUSE_MASK_BUTTONS) == 3)
 
#define TERM_256COLOURS   0x1
 
#define TERM_NOAM   0x2
 
#define TERM_DECSLRM   0x4
 
#define TERM_DECFRA   0x8
 
#define TERM_RGBCOLOURS   0x10
 
#define TERM_VT100LIKE   0x20
 
#define TTY_NOCURSOR   0x1
 
#define TTY_FREEZE   0x2
 
#define TTY_TIMER   0x4
 
#define TTY_STARTED   0x10
 
#define TTY_OPENED   0x20
 
#define TTY_BLOCK   0x80
 
#define TTY_HAVEDA   0x100
 
#define TTY_HAVEXDA   0x200
 
#define TTY_SYNCING   0x400
 
#define CMD_FIND_PREFER_UNATTACHED   0x1
 
#define CMD_FIND_QUIET   0x2
 
#define CMD_FIND_WINDOW_INDEX   0x4
 
#define CMD_FIND_DEFAULT_MARKED   0x8
 
#define CMD_FIND_EXACT_SESSION   0x10
 
#define CMD_FIND_EXACT_WINDOW   0x20
 
#define CMD_FIND_CANFAIL   0x40
 
#define CMD_PARSE_QUIET   0x1
 
#define CMD_PARSE_PARSEONLY   0x2
 
#define CMD_PARSE_NOALIAS   0x4
 
#define CMD_PARSE_VERBOSE   0x8
 
#define CMD_PARSE_ONEGROUP   0x10
 
#define CMDQ_STATE_REPEAT   0x1
 
#define CMDQ_STATE_CONTROL   0x2
 
#define CMDQ_STATE_NOHOOKS   0x4
 
#define CMD_STARTSERVER   0x1
 
#define CMD_READONLY   0x2
 
#define CMD_AFTERHOOK   0x4
 
#define CMD_CLIENT_CFLAG   0x8
 
#define CMD_CLIENT_TFLAG   0x10
 
#define CMD_CLIENT_CANFAIL   0x20
 
#define STATUS_LINES_LIMIT   5
 
#define CLIENT_TERMINAL   0x1
 
#define CLIENT_LOGIN   0x2
 
#define CLIENT_EXIT   0x4
 
#define CLIENT_REDRAWWINDOW   0x8
 
#define CLIENT_REDRAWSTATUS   0x10
 
#define CLIENT_REPEAT   0x20
 
#define CLIENT_SUSPENDED   0x40
 
#define CLIENT_ATTACHED   0x80
 
#define CLIENT_EXITED   0x100
 
#define CLIENT_DEAD   0x200
 
#define CLIENT_REDRAWBORDERS   0x400
 
#define CLIENT_READONLY   0x800
 
#define CLIENT_NOSTARTSERVER   0x1000
 
#define CLIENT_CONTROL   0x2000
 
#define CLIENT_CONTROLCONTROL   0x4000
 
#define CLIENT_FOCUSED   0x8000
 
#define CLIENT_UTF8   0x10000
 
#define CLIENT_IGNORESIZE   0x20000
 
#define CLIENT_IDENTIFIED   0x40000
 
#define CLIENT_STATUSFORCE   0x80000
 
#define CLIENT_DOUBLECLICK   0x100000
 
#define CLIENT_TRIPLECLICK   0x200000
 
#define CLIENT_SIZECHANGED   0x400000
 
#define CLIENT_STATUSOFF   0x800000
 
#define CLIENT_REDRAWSTATUSALWAYS   0x1000000
 
#define CLIENT_REDRAWOVERLAY   0x2000000
 
#define CLIENT_CONTROL_NOOUTPUT   0x4000000
 
#define CLIENT_DEFAULTSOCKET   0x8000000
 
#define CLIENT_STARTSERVER   0x10000000
 
#define CLIENT_REDRAWPANES   0x20000000
 
#define CLIENT_NOFORK   0x40000000
 
#define CLIENT_ACTIVEPANE   0x80000000ULL
 
#define CLIENT_CONTROL_PAUSEAFTER   0x100000000ULL
 
#define CLIENT_CONTROL_WAITEXIT   0x200000000ULL
 
#define CLIENT_ALLREDRAWFLAGS
 
#define CLIENT_UNATTACHEDFLAGS
 
#define CLIENT_NOSIZEFLAGS
 
#define PROMPT_SINGLE   0x1
 
#define PROMPT_NUMERIC   0x2
 
#define PROMPT_INCREMENTAL   0x4
 
#define PROMPT_NOFORMAT   0x8
 
#define PROMPT_KEY   0x10
 
#define PROMPT_WINDOW   0x20
 
#define PROMPT_TARGET   0x40
 
#define KEY_BINDING_REPEAT   0x1
 
#define OPTIONS_TABLE_NONE   0
 
#define OPTIONS_TABLE_SERVER   0x1
 
#define OPTIONS_TABLE_SESSION   0x2
 
#define OPTIONS_TABLE_WINDOW   0x4
 
#define OPTIONS_TABLE_PANE   0x8
 
#define OPTIONS_TABLE_IS_ARRAY   0x1
 
#define OPTIONS_TABLE_IS_HOOK   0x2
 
#define OPTIONS_TABLE_IS_STYLE   0x4
 
#define CMD_TARGET_PANE_USAGE   "[-t target-pane]"
 
#define CMD_TARGET_WINDOW_USAGE   "[-t target-window]"
 
#define CMD_TARGET_SESSION_USAGE   "[-t target-session]"
 
#define CMD_TARGET_CLIENT_USAGE   "[-t target-client]"
 
#define CMD_SRCDST_PANE_USAGE   "[-s src-pane] [-t dst-pane]"
 
#define CMD_SRCDST_WINDOW_USAGE   "[-s src-window] [-t dst-window]"
 
#define CMD_SRCDST_SESSION_USAGE   "[-s src-session] [-t dst-session]"
 
#define CMD_SRCDST_CLIENT_USAGE   "[-s src-client] [-t dst-client]"
 
#define CMD_BUFFER_USAGE   "[-b buffer-name]"
 
#define SPAWN_KILL   0x1
 
#define SPAWN_DETACHED   0x2
 
#define SPAWN_RESPAWN   0x4
 
#define SPAWN_BEFORE   0x8
 
#define SPAWN_NONOTIFY   0x10
 
#define SPAWN_FULLSIZE   0x20
 
#define SPAWN_EMPTY   0x40
 
#define SPAWN_ZOOM   0x80
 
#define FORMAT_STATUS   0x1
 
#define FORMAT_FORCE   0x2
 
#define FORMAT_NOJOBS   0x4
 
#define FORMAT_VERBOSE   0x8
 
#define FORMAT_NONE   0
 
#define FORMAT_PANE   0x80000000U
 
#define FORMAT_WINDOW   0x40000000U
 
#define JOB_NOWAIT   0x1
 
#define JOB_KEEPWRITE   0x2
 
#define JOB_PTY   0x4
 
#define cmdq_get_callback(cb, data)   cmdq_get_callback1(#cb, cb, data)
 
#define MENU_NOMOUSE   0x1
 
#define MENU_TAB   0x2
 
#define MENU_STAYOPEN   0x4
 
#define POPUP_CLOSEEXIT   0x1
 
#define POPUP_CLOSEEXITZERO   0x2
 

Typedefs

typedef unsigned long long key_code
 
typedef u_int utf8_char
 
typedef void(* screen_write_init_ctx_cb) (struct screen_write_ctx *, struct tty_ctx *)
 
typedef void(* menu_choice_cb) (struct menu *, u_int, key_code, void *)
 
typedef void(* tty_ctx_redraw_cb) (const struct tty_ctx *)
 
typedef int(* tty_ctx_set_client_cb) (struct tty_ctx *, struct client *)
 
typedef enum cmd_retval(* cmdq_cb) (struct cmdq_item *, void *)
 
typedef void(* client_file_cb) (struct client *, const char *, int, int, struct evbuffer *, void *)
 
typedef int(* prompt_input_cb) (struct client *, void *, const char *, int)
 
typedef void(* prompt_free_cb) (void *)
 
typedef int(* overlay_check_cb) (struct client *, u_int, u_int)
 
typedef struct screen *(* overlay_mode_cb) (struct client *, u_int *, u_int *)
 
typedef void(* overlay_draw_cb) (struct client *, struct screen_redraw_ctx *)
 
typedef int(* overlay_key_cb) (struct client *, struct key_event *)
 
typedef void(* overlay_free_cb) (struct client *)
 
typedef void *(* format_cb) (struct format_tree *)
 
typedef void(* job_update_cb) (struct job *)
 
typedef void(* job_complete_cb) (struct job *)
 
typedef void(* job_free_cb) (void *)
 
typedef void(* mode_tree_build_cb) (void *, struct mode_tree_sort_criteria *, uint64_t *, const char *)
 
typedef void(* mode_tree_draw_cb) (void *, void *, struct screen_write_ctx *, u_int, u_int)
 
typedef int(* mode_tree_search_cb) (void *, void *, const char *)
 
typedef void(* mode_tree_menu_cb) (void *, struct client *, key_code)
 
typedef u_int(* mode_tree_height_cb) (void *, u_int)
 
typedef key_code(* mode_tree_key_cb) (void *, void *, u_int)
 
typedef void(* mode_tree_each_cb) (void *, void *, struct client *, key_code)
 
typedef void(* popup_close_cb) (int, void *)
 
typedef void(* popup_finish_edit_cb) (char *, size_t, void *)
 

Enumerations

enum  {
  KEYC_FOCUS_IN = 0x0000000010e000ULL , KEYC_FOCUS_OUT , KEYC_ANY , KEYC_PASTE_START ,
  KEYC_PASTE_END , KEYC_MOUSE , KEYC_DRAGGING , KEYC_DOUBLECLICK ,
  KEYC_MOUSEMOVE_PANE , KEYC_MOUSEMOVE_STATUS , KEYC_MOUSEMOVE_STATUS_LEFT , KEYC_MOUSEMOVE_STATUS_RIGHT ,
  KEYC_MOUSEMOVE_STATUS_DEFAULT , KEYC_MOUSEMOVE_BORDER , KEYC_MOUSEDOWN1_PANE , KEYC_MOUSEDOWN1_STATUS ,
  KEYC_MOUSEDOWN1_STATUS_LEFT , KEYC_MOUSEDOWN1_STATUS_RIGHT , KEYC_MOUSEDOWN1_STATUS_DEFAULT , KEYC_MOUSEDOWN1_BORDER ,
  KEYC_MOUSEDOWN2_PANE , KEYC_MOUSEDOWN2_STATUS , KEYC_MOUSEDOWN2_STATUS_LEFT , KEYC_MOUSEDOWN2_STATUS_RIGHT ,
  KEYC_MOUSEDOWN2_STATUS_DEFAULT , KEYC_MOUSEDOWN2_BORDER , KEYC_MOUSEDOWN3_PANE , KEYC_MOUSEDOWN3_STATUS ,
  KEYC_MOUSEDOWN3_STATUS_LEFT , KEYC_MOUSEDOWN3_STATUS_RIGHT , KEYC_MOUSEDOWN3_STATUS_DEFAULT , KEYC_MOUSEDOWN3_BORDER ,
  KEYC_MOUSEUP1_PANE , KEYC_MOUSEUP1_STATUS , KEYC_MOUSEUP1_STATUS_LEFT , KEYC_MOUSEUP1_STATUS_RIGHT ,
  KEYC_MOUSEUP1_STATUS_DEFAULT , KEYC_MOUSEUP1_BORDER , KEYC_MOUSEUP2_PANE , KEYC_MOUSEUP2_STATUS ,
  KEYC_MOUSEUP2_STATUS_LEFT , KEYC_MOUSEUP2_STATUS_RIGHT , KEYC_MOUSEUP2_STATUS_DEFAULT , KEYC_MOUSEUP2_BORDER ,
  KEYC_MOUSEUP3_PANE , KEYC_MOUSEUP3_STATUS , KEYC_MOUSEUP3_STATUS_LEFT , KEYC_MOUSEUP3_STATUS_RIGHT ,
  KEYC_MOUSEUP3_STATUS_DEFAULT , KEYC_MOUSEUP3_BORDER , KEYC_MOUSEDRAG1_PANE , KEYC_MOUSEDRAG1_STATUS ,
  KEYC_MOUSEDRAG1_STATUS_LEFT , KEYC_MOUSEDRAG1_STATUS_RIGHT , KEYC_MOUSEDRAG1_STATUS_DEFAULT , KEYC_MOUSEDRAG1_BORDER ,
  KEYC_MOUSEDRAG2_PANE , KEYC_MOUSEDRAG2_STATUS , KEYC_MOUSEDRAG2_STATUS_LEFT , KEYC_MOUSEDRAG2_STATUS_RIGHT ,
  KEYC_MOUSEDRAG2_STATUS_DEFAULT , KEYC_MOUSEDRAG2_BORDER , KEYC_MOUSEDRAG3_PANE , KEYC_MOUSEDRAG3_STATUS ,
  KEYC_MOUSEDRAG3_STATUS_LEFT , KEYC_MOUSEDRAG3_STATUS_RIGHT , KEYC_MOUSEDRAG3_STATUS_DEFAULT , KEYC_MOUSEDRAG3_BORDER ,
  KEYC_MOUSEDRAGEND1_PANE , KEYC_MOUSEDRAGEND1_STATUS , KEYC_MOUSEDRAGEND1_STATUS_LEFT , KEYC_MOUSEDRAGEND1_STATUS_RIGHT ,
  KEYC_MOUSEDRAGEND1_STATUS_DEFAULT , KEYC_MOUSEDRAGEND1_BORDER , KEYC_MOUSEDRAGEND2_PANE , KEYC_MOUSEDRAGEND2_STATUS ,
  KEYC_MOUSEDRAGEND2_STATUS_LEFT , KEYC_MOUSEDRAGEND2_STATUS_RIGHT , KEYC_MOUSEDRAGEND2_STATUS_DEFAULT , KEYC_MOUSEDRAGEND2_BORDER ,
  KEYC_MOUSEDRAGEND3_PANE , KEYC_MOUSEDRAGEND3_STATUS , KEYC_MOUSEDRAGEND3_STATUS_LEFT , KEYC_MOUSEDRAGEND3_STATUS_RIGHT ,
  KEYC_MOUSEDRAGEND3_STATUS_DEFAULT , KEYC_MOUSEDRAGEND3_BORDER , KEYC_WHEELUP_PANE , KEYC_WHEELUP_STATUS ,
  KEYC_WHEELUP_STATUS_LEFT , KEYC_WHEELUP_STATUS_RIGHT , KEYC_WHEELUP_STATUS_DEFAULT , KEYC_WHEELUP_BORDER ,
  KEYC_WHEELDOWN_PANE , KEYC_WHEELDOWN_STATUS , KEYC_WHEELDOWN_STATUS_LEFT , KEYC_WHEELDOWN_STATUS_RIGHT ,
  KEYC_WHEELDOWN_STATUS_DEFAULT , KEYC_WHEELDOWN_BORDER , KEYC_SECONDCLICK1_PANE , KEYC_SECONDCLICK1_STATUS ,
  KEYC_SECONDCLICK1_STATUS_LEFT , KEYC_SECONDCLICK1_STATUS_RIGHT , KEYC_SECONDCLICK1_STATUS_DEFAULT , KEYC_SECONDCLICK1_BORDER ,
  KEYC_SECONDCLICK2_PANE , KEYC_SECONDCLICK2_STATUS , KEYC_SECONDCLICK2_STATUS_LEFT , KEYC_SECONDCLICK2_STATUS_RIGHT ,
  KEYC_SECONDCLICK2_STATUS_DEFAULT , KEYC_SECONDCLICK2_BORDER , KEYC_SECONDCLICK3_PANE , KEYC_SECONDCLICK3_STATUS ,
  KEYC_SECONDCLICK3_STATUS_LEFT , KEYC_SECONDCLICK3_STATUS_RIGHT , KEYC_SECONDCLICK3_STATUS_DEFAULT , KEYC_SECONDCLICK3_BORDER ,
  KEYC_DOUBLECLICK1_PANE , KEYC_DOUBLECLICK1_STATUS , KEYC_DOUBLECLICK1_STATUS_LEFT , KEYC_DOUBLECLICK1_STATUS_RIGHT ,
  KEYC_DOUBLECLICK1_STATUS_DEFAULT , KEYC_DOUBLECLICK1_BORDER , KEYC_DOUBLECLICK2_PANE , KEYC_DOUBLECLICK2_STATUS ,
  KEYC_DOUBLECLICK2_STATUS_LEFT , KEYC_DOUBLECLICK2_STATUS_RIGHT , KEYC_DOUBLECLICK2_STATUS_DEFAULT , KEYC_DOUBLECLICK2_BORDER ,
  KEYC_DOUBLECLICK3_PANE , KEYC_DOUBLECLICK3_STATUS , KEYC_DOUBLECLICK3_STATUS_LEFT , KEYC_DOUBLECLICK3_STATUS_RIGHT ,
  KEYC_DOUBLECLICK3_STATUS_DEFAULT , KEYC_DOUBLECLICK3_BORDER , KEYC_TRIPLECLICK1_PANE , KEYC_TRIPLECLICK1_STATUS ,
  KEYC_TRIPLECLICK1_STATUS_LEFT , KEYC_TRIPLECLICK1_STATUS_RIGHT , KEYC_TRIPLECLICK1_STATUS_DEFAULT , KEYC_TRIPLECLICK1_BORDER ,
  KEYC_TRIPLECLICK2_PANE , KEYC_TRIPLECLICK2_STATUS , KEYC_TRIPLECLICK2_STATUS_LEFT , KEYC_TRIPLECLICK2_STATUS_RIGHT ,
  KEYC_TRIPLECLICK2_STATUS_DEFAULT , KEYC_TRIPLECLICK2_BORDER , KEYC_TRIPLECLICK3_PANE , KEYC_TRIPLECLICK3_STATUS ,
  KEYC_TRIPLECLICK3_STATUS_LEFT , KEYC_TRIPLECLICK3_STATUS_RIGHT , KEYC_TRIPLECLICK3_STATUS_DEFAULT , KEYC_TRIPLECLICK3_BORDER ,
  KEYC_BSPACE , KEYC_F1 , KEYC_F2 , KEYC_F3 ,
  KEYC_F4 , KEYC_F5 , KEYC_F6 , KEYC_F7 ,
  KEYC_F8 , KEYC_F9 , KEYC_F10 , KEYC_F11 ,
  KEYC_F12 , KEYC_IC , KEYC_DC , KEYC_HOME ,
  KEYC_END , KEYC_NPAGE , KEYC_PPAGE , KEYC_BTAB ,
  KEYC_UP , KEYC_DOWN , KEYC_LEFT , KEYC_RIGHT ,
  KEYC_KP_SLASH , KEYC_KP_STAR , KEYC_KP_MINUS , KEYC_KP_SEVEN ,
  KEYC_KP_EIGHT , KEYC_KP_NINE , KEYC_KP_PLUS , KEYC_KP_FOUR ,
  KEYC_KP_FIVE , KEYC_KP_SIX , KEYC_KP_ONE , KEYC_KP_TWO ,
  KEYC_KP_THREE , KEYC_KP_ENTER , KEYC_KP_ZERO , KEYC_KP_PERIOD ,
  KEYC_BASE_END
}
 
enum  tty_code_code {
  TTYC_ACSC , TTYC_AM , TTYC_AX , TTYC_BCE ,
  TTYC_BEL , TTYC_BIDI , TTYC_BLINK , TTYC_BOLD ,
  TTYC_CIVIS , TTYC_CLEAR , TTYC_CLMG , TTYC_CMG ,
  TTYC_CNORM , TTYC_COLORS , TTYC_CR , TTYC_CS ,
  TTYC_CSR , TTYC_CUB , TTYC_CUB1 , TTYC_CUD ,
  TTYC_CUD1 , TTYC_CUF , TTYC_CUF1 , TTYC_CUP ,
  TTYC_CUU , TTYC_CUU1 , TTYC_CVVIS , TTYC_DCH ,
  TTYC_DCH1 , TTYC_DIM , TTYC_DL , TTYC_DL1 ,
  TTYC_DSBP , TTYC_DSEKS , TTYC_DSFCS , TTYC_DSMG ,
  TTYC_E3 , TTYC_ECH , TTYC_ED , TTYC_EL ,
  TTYC_EL1 , TTYC_ENACS , TTYC_ENBP , TTYC_ENEKS ,
  TTYC_ENFCS , TTYC_ENMG , TTYC_FSL , TTYC_HOME ,
  TTYC_HPA , TTYC_ICH , TTYC_ICH1 , TTYC_IL ,
  TTYC_IL1 , TTYC_INDN , TTYC_INVIS , TTYC_KCBT ,
  TTYC_KCUB1 , TTYC_KCUD1 , TTYC_KCUF1 , TTYC_KCUU1 ,
  TTYC_KDC2 , TTYC_KDC3 , TTYC_KDC4 , TTYC_KDC5 ,
  TTYC_KDC6 , TTYC_KDC7 , TTYC_KDCH1 , TTYC_KDN2 ,
  TTYC_KDN3 , TTYC_KDN4 , TTYC_KDN5 , TTYC_KDN6 ,
  TTYC_KDN7 , TTYC_KEND , TTYC_KEND2 , TTYC_KEND3 ,
  TTYC_KEND4 , TTYC_KEND5 , TTYC_KEND6 , TTYC_KEND7 ,
  TTYC_KF1 , TTYC_KF10 , TTYC_KF11 , TTYC_KF12 ,
  TTYC_KF13 , TTYC_KF14 , TTYC_KF15 , TTYC_KF16 ,
  TTYC_KF17 , TTYC_KF18 , TTYC_KF19 , TTYC_KF2 ,
  TTYC_KF20 , TTYC_KF21 , TTYC_KF22 , TTYC_KF23 ,
  TTYC_KF24 , TTYC_KF25 , TTYC_KF26 , TTYC_KF27 ,
  TTYC_KF28 , TTYC_KF29 , TTYC_KF3 , TTYC_KF30 ,
  TTYC_KF31 , TTYC_KF32 , TTYC_KF33 , TTYC_KF34 ,
  TTYC_KF35 , TTYC_KF36 , TTYC_KF37 , TTYC_KF38 ,
  TTYC_KF39 , TTYC_KF4 , TTYC_KF40 , TTYC_KF41 ,
  TTYC_KF42 , TTYC_KF43 , TTYC_KF44 , TTYC_KF45 ,
  TTYC_KF46 , TTYC_KF47 , TTYC_KF48 , TTYC_KF49 ,
  TTYC_KF5 , TTYC_KF50 , TTYC_KF51 , TTYC_KF52 ,
  TTYC_KF53 , TTYC_KF54 , TTYC_KF55 , TTYC_KF56 ,
  TTYC_KF57 , TTYC_KF58 , TTYC_KF59 , TTYC_KF6 ,
  TTYC_KF60 , TTYC_KF61 , TTYC_KF62 , TTYC_KF63 ,
  TTYC_KF7 , TTYC_KF8 , TTYC_KF9 , TTYC_KHOM2 ,
  TTYC_KHOM3 , TTYC_KHOM4 , TTYC_KHOM5 , TTYC_KHOM6 ,
  TTYC_KHOM7 , TTYC_KHOME , TTYC_KIC2 , TTYC_KIC3 ,
  TTYC_KIC4 , TTYC_KIC5 , TTYC_KIC6 , TTYC_KIC7 ,
  TTYC_KICH1 , TTYC_KIND , TTYC_KLFT2 , TTYC_KLFT3 ,
  TTYC_KLFT4 , TTYC_KLFT5 , TTYC_KLFT6 , TTYC_KLFT7 ,
  TTYC_KMOUS , TTYC_KNP , TTYC_KNXT2 , TTYC_KNXT3 ,
  TTYC_KNXT4 , TTYC_KNXT5 , TTYC_KNXT6 , TTYC_KNXT7 ,
  TTYC_KPP , TTYC_KPRV2 , TTYC_KPRV3 , TTYC_KPRV4 ,
  TTYC_KPRV5 , TTYC_KPRV6 , TTYC_KPRV7 , TTYC_KRI ,
  TTYC_KRIT2 , TTYC_KRIT3 , TTYC_KRIT4 , TTYC_KRIT5 ,
  TTYC_KRIT6 , TTYC_KRIT7 , TTYC_KUP2 , TTYC_KUP3 ,
  TTYC_KUP4 , TTYC_KUP5 , TTYC_KUP6 , TTYC_KUP7 ,
  TTYC_MS , TTYC_OL , TTYC_OP , TTYC_RECT ,
  TTYC_REV , TTYC_RGB , TTYC_RI , TTYC_RIN ,
  TTYC_RMACS , TTYC_RMCUP , TTYC_RMKX , TTYC_SE ,
  TTYC_SETAB , TTYC_SETAF , TTYC_SETAL , TTYC_SETRGBB ,
  TTYC_SETRGBF , TTYC_SETULC , TTYC_SGR0 , TTYC_SITM ,
  TTYC_SMACS , TTYC_SMCUP , TTYC_SMKX , TTYC_SMOL ,
  TTYC_SMSO , TTYC_SMUL , TTYC_SMULX , TTYC_SMXX ,
  TTYC_SS , TTYC_SYNC , TTYC_TC , TTYC_TSL ,
  TTYC_U8 , TTYC_VPA , TTYC_XT
}
 
enum  msgtype {
  MSG_VERSION = 12 , MSG_IDENTIFY_FLAGS = 100 , MSG_IDENTIFY_TERM , MSG_IDENTIFY_TTYNAME ,
  MSG_IDENTIFY_OLDCWD , MSG_IDENTIFY_STDIN , MSG_IDENTIFY_ENVIRON , MSG_IDENTIFY_DONE ,
  MSG_IDENTIFY_CLIENTPID , MSG_IDENTIFY_CWD , MSG_IDENTIFY_FEATURES , MSG_IDENTIFY_STDOUT ,
  MSG_IDENTIFY_LONGFLAGS , MSG_IDENTIFY_TERMINFO , MSG_COMMAND = 200 , MSG_DETACH ,
  MSG_DETACHKILL , MSG_EXIT , MSG_EXITED , MSG_EXITING ,
  MSG_LOCK , MSG_READY , MSG_RESIZE , MSG_SHELL ,
  MSG_SHUTDOWN , MSG_OLDSTDERR , MSG_OLDSTDIN , MSG_OLDSTDOUT ,
  MSG_SUSPEND , MSG_UNLOCK , MSG_WAKEUP , MSG_EXEC ,
  MSG_FLAGS , MSG_READ_OPEN = 300 , MSG_READ , MSG_READ_DONE ,
  MSG_WRITE_OPEN , MSG_WRITE , MSG_WRITE_READY , MSG_WRITE_CLOSE
}
 
enum  utf8_state { UTF8_MORE , UTF8_DONE , UTF8_ERROR }
 
enum  style_align {
  STYLE_ALIGN_DEFAULT , STYLE_ALIGN_LEFT , STYLE_ALIGN_CENTRE , STYLE_ALIGN_RIGHT ,
  STYLE_ALIGN_ABSOLUTE_CENTRE
}
 
enum  style_list {
  STYLE_LIST_OFF , STYLE_LIST_ON , STYLE_LIST_FOCUS , STYLE_LIST_LEFT_MARKER ,
  STYLE_LIST_RIGHT_MARKER
}
 
enum  style_range_type { STYLE_RANGE_NONE , STYLE_RANGE_LEFT , STYLE_RANGE_RIGHT , STYLE_RANGE_WINDOW }
 
enum  style_default_type { STYLE_DEFAULT_BASE , STYLE_DEFAULT_PUSH , STYLE_DEFAULT_POP }
 
enum  layout_type { LAYOUT_LEFTRIGHT , LAYOUT_TOPBOTTOM , LAYOUT_WINDOWPANE }
 
enum  cmd_find_type { CMD_FIND_PANE , CMD_FIND_WINDOW , CMD_FIND_SESSION }
 
enum  cmd_retval { CMD_RETURN_ERROR = -1 , CMD_RETURN_NORMAL = 0 , CMD_RETURN_WAIT , CMD_RETURN_STOP }
 
enum  cmd_parse_status { CMD_PARSE_EMPTY , CMD_PARSE_ERROR , CMD_PARSE_SUCCESS }
 
enum  control_sub_type {
  CONTROL_SUB_SESSION , CONTROL_SUB_PANE , CONTROL_SUB_ALL_PANES , CONTROL_SUB_WINDOW ,
  CONTROL_SUB_ALL_WINDOWS
}
 
enum  options_table_type {
  OPTIONS_TABLE_STRING , OPTIONS_TABLE_NUMBER , OPTIONS_TABLE_KEY , OPTIONS_TABLE_COLOUR ,
  OPTIONS_TABLE_FLAG , OPTIONS_TABLE_CHOICE , OPTIONS_TABLE_COMMAND
}
 

Functions

 TAILQ_HEAD (style_ranges, style_range)
 
 TAILQ_HEAD (window_pane_resizes, window_pane_resize)
 
 TAILQ_HEAD (window_panes, window_pane)
 
 RB_HEAD (window_pane_tree, window_pane)
 
 RB_HEAD (windows, window)
 
 RB_HEAD (winlinks, winlink)
 
 TAILQ_HEAD (winlink_stack, winlink)
 
 TAILQ_HEAD (layout_cells, layout_cell)
 
 RB_HEAD (session_groups, session_group)
 
 RB_HEAD (sessions, session)
 
 LIST_HEAD (tty_terms, tty_term)
 
 TAILQ_HEAD (message_list, message_entry)
 
 RB_HEAD (args_tree, args_entry)
 
 RB_HEAD (client_files, client_file)
 
 RB_HEAD (client_windows, client_window)
 
 TAILQ_HEAD (clients, client)
 
 RB_HEAD (key_bindings, key_binding)
 
 RB_HEAD (key_tables, key_table)
 
 RB_HEAD (options_array, options_array_item)
 
int checkshell (const char *)
 
void setblocking (int, int)
 
uint64_t get_timer (void)
 
const char * sig2name (int)
 
const char * find_cwd (void)
 
const char * find_home (void)
 
const char * getversion (void)
 
int proc_send (struct tmuxpeer *, enum msgtype, int, const void *, size_t)
 
struct tmuxprocproc_start (const char *)
 
void proc_loop (struct tmuxproc *, int(*)(void))
 
void proc_exit (struct tmuxproc *)
 
void proc_set_signals (struct tmuxproc *, void(*)(int))
 
void proc_clear_signals (struct tmuxproc *, int)
 
struct tmuxpeerproc_add_peer (struct tmuxproc *, int, void(*)(struct imsg *, void *), void *)
 
void proc_remove_peer (struct tmuxpeer *)
 
void proc_kill_peer (struct tmuxpeer *)
 
void proc_toggle_log (struct tmuxproc *)
 
pid_t proc_fork_and_daemon (int *)
 
void start_cfg (void)
 
int load_cfg (const char *, struct client *, struct cmdq_item *, int, struct cmdq_item **)
 
int load_cfg_from_buffer (const void *, size_t, const char *, struct client *, struct cmdq_item *, int, struct cmdq_item **)
 
void cfg_add_cause (const char *,...)
 
void cfg_print_causes (struct cmdq_item *)
 
void cfg_show_causes (struct session *)
 
const char * paste_buffer_name (struct paste_buffer *)
 
u_int paste_buffer_order (struct paste_buffer *)
 
time_t paste_buffer_created (struct paste_buffer *)
 
const char * paste_buffer_data (struct paste_buffer *, size_t *)
 
struct paste_bufferpaste_walk (struct paste_buffer *)
 
struct paste_bufferpaste_get_top (const char **)
 
struct paste_bufferpaste_get_name (const char *)
 
void paste_free (struct paste_buffer *)
 
void paste_add (const char *, char *, size_t)
 
int paste_rename (const char *, const char *, char **)
 
int paste_set (char *, size_t, const char *, char **)
 
void paste_replace (struct paste_buffer *, char *, size_t)
 
char * paste_make_sample (struct paste_buffer *)
 
void format_tidy_jobs (void)
 
const char * format_skip (const char *, const char *)
 
int format_true (const char *)
 
struct format_treeformat_create (struct client *, struct cmdq_item *, int, int)
 
void format_free (struct format_tree *)
 
void format_merge (struct format_tree *, struct format_tree *)
 
struct window_paneformat_get_pane (struct format_tree *)
 
void format_add (struct format_tree *, const char *, const char *,...)
 
void format_add_tv (struct format_tree *, const char *, struct timeval *)
 
void format_add_cb (struct format_tree *, const char *, format_cb)
 
void format_each (struct format_tree *, void(*)(const char *, const char *, void *), void *)
 
char * format_expand_time (struct format_tree *, const char *)
 
char * format_expand (struct format_tree *, const char *)
 
char * format_single (struct cmdq_item *, const char *, struct client *, struct session *, struct winlink *, struct window_pane *)
 
char * format_single_from_state (struct cmdq_item *, const char *, struct client *, struct cmd_find_state *)
 
char * format_single_from_target (struct cmdq_item *, const char *)
 
struct format_treeformat_create_defaults (struct cmdq_item *, struct client *, struct session *, struct winlink *, struct window_pane *)
 
struct format_treeformat_create_from_state (struct cmdq_item *, struct client *, struct cmd_find_state *)
 
struct format_treeformat_create_from_target (struct cmdq_item *)
 
void format_defaults (struct format_tree *, struct client *, struct session *, struct winlink *, struct window_pane *)
 
void format_defaults_window (struct format_tree *, struct window *)
 
void format_defaults_pane (struct format_tree *, struct window_pane *)
 
void format_defaults_paste_buffer (struct format_tree *, struct paste_buffer *)
 
void format_lost_client (struct client *)
 
char * format_grid_word (struct grid *, u_int, u_int)
 
char * format_grid_line (struct grid *, u_int)
 
void format_draw (struct screen_write_ctx *, const struct grid_cell *, u_int, const char *, struct style_ranges *)
 
u_int format_width (const char *)
 
char * format_trim_left (const char *, u_int)
 
char * format_trim_right (const char *, u_int)
 
void notify_hook (struct cmdq_item *, const char *)
 
void notify_client (const char *, struct client *)
 
void notify_session (const char *, struct session *)
 
void notify_winlink (const char *, struct winlink *)
 
void notify_session_window (const char *, struct session *, struct window *)
 
void notify_window (const char *, struct window *)
 
void notify_pane (const char *, struct window_pane *)
 
struct optionsoptions_create (struct options *)
 
void options_free (struct options *)
 
struct optionsoptions_get_parent (struct options *)
 
void options_set_parent (struct options *, struct options *)
 
struct options_entryoptions_first (struct options *)
 
struct options_entryoptions_next (struct options_entry *)
 
struct options_entryoptions_empty (struct options *, const struct options_table_entry *)
 
struct options_entryoptions_default (struct options *, const struct options_table_entry *)
 
char * options_default_to_string (const struct options_table_entry *)
 
const char * options_name (struct options_entry *)
 
struct optionsoptions_owner (struct options_entry *)
 
const struct options_table_entryoptions_table_entry (struct options_entry *)
 
struct options_entryoptions_get_only (struct options *, const char *)
 
struct options_entryoptions_get (struct options *, const char *)
 
void options_array_clear (struct options_entry *)
 
union options_valueoptions_array_get (struct options_entry *, u_int)
 
int options_array_set (struct options_entry *, u_int, const char *, int, char **)
 
int options_array_assign (struct options_entry *, const char *, char **)
 
struct options_array_itemoptions_array_first (struct options_entry *)
 
struct options_array_itemoptions_array_next (struct options_array_item *)
 
u_int options_array_item_index (struct options_array_item *)
 
union options_valueoptions_array_item_value (struct options_array_item *)
 
int options_is_array (struct options_entry *)
 
int options_is_string (struct options_entry *)
 
char * options_to_string (struct options_entry *, int, int)
 
char * options_parse (const char *, int *)
 
struct options_entryoptions_parse_get (struct options *, const char *, int *, int)
 
char * options_match (const char *, int *, int *)
 
struct options_entryoptions_match_get (struct options *, const char *, int *, int, int *)
 
const char * options_get_string (struct options *, const char *)
 
long long options_get_number (struct options *, const char *)
 
struct options_entryoptions_set_string (struct options *, const char *, int, const char *,...)
 
struct options_entryoptions_set_number (struct options *, const char *, long long)
 
int options_scope_from_name (struct args *, int, const char *, struct cmd_find_state *, struct options **, char **)
 
int options_scope_from_flags (struct args *, int, struct cmd_find_state *, struct options **, char **)
 
struct styleoptions_string_to_style (struct options *, const char *, struct format_tree *)
 
int options_from_string (struct options *, const struct options_table_entry *, const char *, const char *, int, char **)
 
void options_push_changes (const char *)
 
int options_remove_or_default (struct options_entry *, int, char **)
 
struct jobjob_run (const char *, int, char **, struct session *, const char *, job_update_cb, job_complete_cb, job_free_cb, void *, int, int, int)
 
void job_free (struct job *)
 
void job_resize (struct job *, u_int, u_int)
 
void job_check_died (pid_t, int)
 
int job_get_status (struct job *)
 
void * job_get_data (struct job *)
 
struct bufferevent * job_get_event (struct job *)
 
void job_kill_all (void)
 
int job_still_running (void)
 
void job_print_summary (struct cmdq_item *, int)
 
struct environenviron_create (void)
 
void environ_free (struct environ *)
 
struct environ_entryenviron_first (struct environ *)
 
struct environ_entryenviron_next (struct environ_entry *)
 
void environ_copy (struct environ *, struct environ *)
 
struct environ_entryenviron_find (struct environ *, const char *)
 
void environ_set (struct environ *, const char *, int, const char *,...)
 
void environ_clear (struct environ *, const char *)
 
void environ_put (struct environ *, const char *, int)
 
void environ_unset (struct environ *, const char *)
 
void environ_update (struct options *, struct environ *, struct environ *)
 
void environ_push (struct environ *)
 
void environ_log (struct environ *, const char *,...)
 
struct environenviron_for_session (struct session *, int)
 
void tty_create_log (void)
 
int tty_window_bigger (struct tty *)
 
int tty_window_offset (struct tty *, u_int *, u_int *, u_int *, u_int *)
 
void tty_update_window_offset (struct window *)
 
void tty_update_client_offset (struct client *)
 
void tty_raw (struct tty *, const char *)
 
void tty_attributes (struct tty *, const struct grid_cell *, const struct grid_cell *, int *)
 
void tty_reset (struct tty *)
 
void tty_region_off (struct tty *)
 
void tty_margin_off (struct tty *)
 
void tty_cursor (struct tty *, u_int, u_int)
 
void tty_putcode (struct tty *, enum tty_code_code)
 
void tty_putcode1 (struct tty *, enum tty_code_code, int)
 
void tty_putcode2 (struct tty *, enum tty_code_code, int, int)
 
void tty_putcode3 (struct tty *, enum tty_code_code, int, int, int)
 
void tty_putcode_ptr1 (struct tty *, enum tty_code_code, const void *)
 
void tty_putcode_ptr2 (struct tty *, enum tty_code_code, const void *, const void *)
 
void tty_puts (struct tty *, const char *)
 
void tty_putc (struct tty *, u_char)
 
void tty_putn (struct tty *, const void *, size_t, u_int)
 
void tty_cell (struct tty *, const struct grid_cell *, const struct grid_cell *, int *)
 
int tty_init (struct tty *, struct client *)
 
void tty_resize (struct tty *)
 
void tty_set_size (struct tty *, u_int, u_int, u_int, u_int)
 
void tty_start_tty (struct tty *)
 
void tty_send_requests (struct tty *)
 
void tty_stop_tty (struct tty *)
 
void tty_set_title (struct tty *, const char *)
 
void tty_update_mode (struct tty *, int, struct screen *)
 
void tty_draw_line (struct tty *, struct screen *, u_int, u_int, u_int, u_int, u_int, const struct grid_cell *, int *)
 
void tty_sync_start (struct tty *)
 
void tty_sync_end (struct tty *)
 
int tty_open (struct tty *, char **)
 
void tty_close (struct tty *)
 
void tty_free (struct tty *)
 
void tty_update_features (struct tty *)
 
void tty_set_selection (struct tty *, const char *, size_t)
 
void tty_write (void(*)(struct tty *, const struct tty_ctx *), struct tty_ctx *)
 
void tty_cmd_alignmenttest (struct tty *, const struct tty_ctx *)
 
void tty_cmd_cell (struct tty *, const struct tty_ctx *)
 
void tty_cmd_cells (struct tty *, const struct tty_ctx *)
 
void tty_cmd_clearendofline (struct tty *, const struct tty_ctx *)
 
void tty_cmd_clearendofscreen (struct tty *, const struct tty_ctx *)
 
void tty_cmd_clearline (struct tty *, const struct tty_ctx *)
 
void tty_cmd_clearscreen (struct tty *, const struct tty_ctx *)
 
void tty_cmd_clearstartofline (struct tty *, const struct tty_ctx *)
 
void tty_cmd_clearstartofscreen (struct tty *, const struct tty_ctx *)
 
void tty_cmd_deletecharacter (struct tty *, const struct tty_ctx *)
 
void tty_cmd_clearcharacter (struct tty *, const struct tty_ctx *)
 
void tty_cmd_deleteline (struct tty *, const struct tty_ctx *)
 
void tty_cmd_erasecharacter (struct tty *, const struct tty_ctx *)
 
void tty_cmd_insertcharacter (struct tty *, const struct tty_ctx *)
 
void tty_cmd_insertline (struct tty *, const struct tty_ctx *)
 
void tty_cmd_linefeed (struct tty *, const struct tty_ctx *)
 
void tty_cmd_scrollup (struct tty *, const struct tty_ctx *)
 
void tty_cmd_scrolldown (struct tty *, const struct tty_ctx *)
 
void tty_cmd_reverseindex (struct tty *, const struct tty_ctx *)
 
void tty_cmd_setselection (struct tty *, const struct tty_ctx *)
 
void tty_cmd_rawstring (struct tty *, const struct tty_ctx *)
 
void tty_cmd_syncstart (struct tty *, const struct tty_ctx *)
 
void tty_default_colours (struct grid_cell *, struct window_pane *)
 
u_int tty_term_ncodes (void)
 
void tty_term_apply (struct tty_term *, const char *, int)
 
void tty_term_apply_overrides (struct tty_term *)
 
struct tty_termtty_term_create (struct tty *, char *, char **, u_int, int *, char **)
 
void tty_term_free (struct tty_term *)
 
int tty_term_read_list (const char *, int, char ***, u_int *, char **)
 
void tty_term_free_list (char **, u_int)
 
int tty_term_has (struct tty_term *, enum tty_code_code)
 
const char * tty_term_string (struct tty_term *, enum tty_code_code)
 
const char * tty_term_string1 (struct tty_term *, enum tty_code_code, int)
 
const char * tty_term_string2 (struct tty_term *, enum tty_code_code, int, int)
 
const char * tty_term_string3 (struct tty_term *, enum tty_code_code, int, int, int)
 
const char * tty_term_ptr1 (struct tty_term *, enum tty_code_code, const void *)
 
const char * tty_term_ptr2 (struct tty_term *, enum tty_code_code, const void *, const void *)
 
int tty_term_number (struct tty_term *, enum tty_code_code)
 
int tty_term_flag (struct tty_term *, enum tty_code_code)
 
const char * tty_term_describe (struct tty_term *, enum tty_code_code)
 
void tty_add_features (int *, const char *, const char *)
 
const char * tty_get_features (int)
 
int tty_apply_features (struct tty_term *, int)
 
void tty_default_features (int *, const char *, u_int)
 
int tty_acs_needed (struct tty *)
 
const char * tty_acs_get (struct tty *, u_char)
 
int tty_acs_reverse_get (struct tty *, const char *, size_t)
 
void tty_keys_build (struct tty *)
 
void tty_keys_free (struct tty *)
 
int tty_keys_next (struct tty *)
 
void args_set (struct args *, u_char, const char *)
 
struct argsargs_parse (const char *, int, char **)
 
void args_free (struct args *)
 
char * args_print (struct args *)
 
char * args_escape (const char *)
 
int args_has (struct args *, u_char)
 
const char * args_get (struct args *, u_char)
 
u_char args_first (struct args *, struct args_entry **)
 
u_char args_next (struct args_entry **)
 
const char * args_first_value (struct args *, u_char, struct args_value **)
 
const char * args_next_value (struct args_value **)
 
long long args_strtonum (struct args *, u_char, long long, long long, char **)
 
long long args_percentage (struct args *, u_char, long long, long long, long long, char **)
 
long long args_string_percentage (const char *, long long, long long, long long, char **)
 
int cmd_find_target (struct cmd_find_state *, struct cmdq_item *, const char *, enum cmd_find_type, int)
 
struct clientcmd_find_best_client (struct session *)
 
struct clientcmd_find_client (struct cmdq_item *, const char *, int)
 
void cmd_find_clear_state (struct cmd_find_state *, int)
 
int cmd_find_empty_state (struct cmd_find_state *)
 
int cmd_find_valid_state (struct cmd_find_state *)
 
void cmd_find_copy_state (struct cmd_find_state *, struct cmd_find_state *)
 
void cmd_find_from_session (struct cmd_find_state *, struct session *, int)
 
void cmd_find_from_winlink (struct cmd_find_state *, struct winlink *, int)
 
int cmd_find_from_session_window (struct cmd_find_state *, struct session *, struct window *, int)
 
int cmd_find_from_window (struct cmd_find_state *, struct window *, int)
 
void cmd_find_from_winlink_pane (struct cmd_find_state *, struct winlink *, struct window_pane *, int)
 
int cmd_find_from_pane (struct cmd_find_state *, struct window_pane *, int)
 
int cmd_find_from_client (struct cmd_find_state *, struct client *, int)
 
int cmd_find_from_mouse (struct cmd_find_state *, struct mouse_event *, int)
 
int cmd_find_from_nothing (struct cmd_find_state *, int)
 
void cmd_log_argv (int, char **, const char *,...)
 
void cmd_prepend_argv (int *, char ***, char *)
 
void cmd_append_argv (int *, char ***, char *)
 
int cmd_pack_argv (int, char **, char *, size_t)
 
int cmd_unpack_argv (char *, size_t, int, char ***)
 
char ** cmd_copy_argv (int, char **)
 
void cmd_free_argv (int, char **)
 
char * cmd_stringify_argv (int, char **)
 
char * cmd_get_alias (const char *)
 
const struct cmd_entrycmd_get_entry (struct cmd *)
 
struct argscmd_get_args (struct cmd *)
 
u_int cmd_get_group (struct cmd *)
 
void cmd_get_source (struct cmd *, const char **, u_int *)
 
struct cmdcmd_parse (int, char **, const char *, u_int, char **)
 
void cmd_free (struct cmd *)
 
char * cmd_print (struct cmd *)
 
struct cmd_listcmd_list_new (void)
 
void cmd_list_append (struct cmd_list *, struct cmd *)
 
void cmd_list_move (struct cmd_list *, struct cmd_list *)
 
void cmd_list_free (struct cmd_list *)
 
char * cmd_list_print (struct cmd_list *, int)
 
struct cmdcmd_list_first (struct cmd_list *)
 
struct cmdcmd_list_next (struct cmd *)
 
int cmd_list_all_have (struct cmd_list *, int)
 
int cmd_list_any_have (struct cmd_list *, int)
 
int cmd_mouse_at (struct window_pane *, struct mouse_event *, u_int *, u_int *, int)
 
struct winlinkcmd_mouse_window (struct mouse_event *, struct session **)
 
struct window_panecmd_mouse_pane (struct mouse_event *, struct session **, struct winlink **)
 
char * cmd_template_replace (const char *, const char *, int)
 
enum cmd_retval cmd_attach_session (struct cmdq_item *, const char *, int, int, int, const char *, int, const char *)
 
void cmd_parse_empty (struct cmd_parse_input *)
 
struct cmd_parse_resultcmd_parse_from_file (FILE *, struct cmd_parse_input *)
 
struct cmd_parse_resultcmd_parse_from_string (const char *, struct cmd_parse_input *)
 
enum cmd_parse_status cmd_parse_and_insert (const char *, struct cmd_parse_input *, struct cmdq_item *, struct cmdq_state *, char **)
 
enum cmd_parse_status cmd_parse_and_append (const char *, struct cmd_parse_input *, struct client *, struct cmdq_state *, char **)
 
struct cmd_parse_resultcmd_parse_from_buffer (const void *, size_t, struct cmd_parse_input *)
 
struct cmd_parse_resultcmd_parse_from_arguments (int, char **, struct cmd_parse_input *)
 
struct cmdq_statecmdq_new_state (struct cmd_find_state *, struct key_event *, int)
 
struct cmdq_statecmdq_link_state (struct cmdq_state *)
 
struct cmdq_statecmdq_copy_state (struct cmdq_state *)
 
void cmdq_free_state (struct cmdq_state *)
 
void cmdq_add_format (struct cmdq_state *, const char *, const char *,...)
 
void cmdq_merge_formats (struct cmdq_item *, struct format_tree *)
 
struct cmdq_listcmdq_new (void)
 
void cmdq_free (struct cmdq_list *)
 
const char * cmdq_get_name (struct cmdq_item *)
 
struct clientcmdq_get_client (struct cmdq_item *)
 
struct clientcmdq_get_target_client (struct cmdq_item *)
 
struct cmdq_statecmdq_get_state (struct cmdq_item *)
 
struct cmd_find_statecmdq_get_target (struct cmdq_item *)
 
struct cmd_find_statecmdq_get_source (struct cmdq_item *)
 
struct key_eventcmdq_get_event (struct cmdq_item *)
 
struct cmd_find_statecmdq_get_current (struct cmdq_item *)
 
int cmdq_get_flags (struct cmdq_item *)
 
struct cmdq_itemcmdq_get_command (struct cmd_list *, struct cmdq_state *)
 
struct cmdq_itemcmdq_get_callback1 (const char *, cmdq_cb, void *)
 
struct cmdq_itemcmdq_get_error (const char *)
 
struct cmdq_itemcmdq_insert_after (struct cmdq_item *, struct cmdq_item *)
 
struct cmdq_itemcmdq_append (struct client *, struct cmdq_item *)
 
void cmdq_insert_hook (struct session *, struct cmdq_item *, struct cmd_find_state *, const char *,...)
 
void cmdq_continue (struct cmdq_item *)
 
u_int cmdq_next (struct client *)
 
struct cmdq_itemcmdq_running (struct client *)
 
void cmdq_guard (struct cmdq_item *, const char *, int)
 
void cmdq_print (struct cmdq_item *, const char *,...)
 
void cmdq_error (struct cmdq_item *, const char *,...)
 
void cmd_wait_for_flush (void)
 
int client_main (struct event_base *, int, char **, uint64_t, int)
 
struct key_tablekey_bindings_get_table (const char *, int)
 
struct key_tablekey_bindings_first_table (void)
 
struct key_tablekey_bindings_next_table (struct key_table *)
 
void key_bindings_unref_table (struct key_table *)
 
struct key_bindingkey_bindings_get (struct key_table *, key_code)
 
struct key_bindingkey_bindings_get_default (struct key_table *, key_code)
 
struct key_bindingkey_bindings_first (struct key_table *)
 
struct key_bindingkey_bindings_next (struct key_table *, struct key_binding *)
 
void key_bindings_add (const char *, key_code, const char *, int, struct cmd_list *)
 
void key_bindings_remove (const char *, key_code)
 
void key_bindings_reset (const char *, key_code)
 
void key_bindings_remove_table (const char *)
 
void key_bindings_reset_table (const char *)
 
void key_bindings_init (void)
 
struct cmdq_itemkey_bindings_dispatch (struct key_binding *, struct cmdq_item *, struct client *, struct key_event *, struct cmd_find_state *)
 
key_code key_string_lookup_string (const char *)
 
const char * key_string_lookup_key (key_code, int)
 
void alerts_reset_all (void)
 
void alerts_queue (struct window *, int)
 
void alerts_check_session (struct session *)
 
int file_cmp (struct client_file *, struct client_file *)
 
 RB_PROTOTYPE (client_files, client_file, entry, file_cmp)
 
struct client_filefile_create_with_peer (struct tmuxpeer *, struct client_files *, int, client_file_cb, void *)
 
struct client_filefile_create_with_client (struct client *, int, client_file_cb, void *)
 
void file_free (struct client_file *)
 
void file_fire_done (struct client_file *)
 
void file_fire_read (struct client_file *)
 
int file_can_print (struct client *)
 
void file_print (struct client *, const char *,...)
 
void file_vprint (struct client *, const char *, va_list)
 
void file_print_buffer (struct client *, void *, size_t)
 
void file_error (struct client *, const char *,...)
 
void file_write (struct client *, const char *, int, const void *, size_t, client_file_cb, void *)
 
void file_read (struct client *, const char *, client_file_cb, void *)
 
void file_push (struct client_file *)
 
int file_write_left (struct client_files *)
 
void file_write_open (struct client_files *, struct tmuxpeer *, struct imsg *, int, int, client_file_cb, void *)
 
void file_write_data (struct client_files *, struct imsg *)
 
void file_write_close (struct client_files *, struct imsg *)
 
void file_read_open (struct client_files *, struct tmuxpeer *, struct imsg *, int, int, client_file_cb, void *)
 
void file_write_ready (struct client_files *, struct imsg *)
 
void file_read_data (struct client_files *, struct imsg *)
 
void file_read_done (struct client_files *, struct imsg *)
 
void server_set_marked (struct session *, struct winlink *, struct window_pane *)
 
void server_clear_marked (void)
 
int server_is_marked (struct session *, struct winlink *, struct window_pane *)
 
int server_check_marked (void)
 
int server_start (struct tmuxproc *, int, struct event_base *, int, char *)
 
void server_update_socket (void)
 
void server_add_accept (int)
 
void server_add_message (const char *,...)
 
 RB_PROTOTYPE (client_windows, client_window, entry, server_client_window_cmp)
 
u_int server_client_how_many (void)
 
void server_client_set_overlay (struct client *, u_int, overlay_check_cb, overlay_mode_cb, overlay_draw_cb, overlay_key_cb, overlay_free_cb, void *)
 
void server_client_clear_overlay (struct client *)
 
void server_client_set_key_table (struct client *, const char *)
 
const char * server_client_get_key_table (struct client *)
 
int server_client_check_nested (struct client *)
 
int server_client_handle_key (struct client *, struct key_event *)
 
struct clientserver_client_create (int)
 
int server_client_open (struct client *, char **)
 
void server_client_unref (struct client *)
 
void server_client_lost (struct client *)
 
void server_client_suspend (struct client *)
 
void server_client_detach (struct client *, enum msgtype)
 
void server_client_exec (struct client *, const char *)
 
void server_client_loop (void)
 
void server_client_push_stdout (struct client *)
 
void server_client_push_stderr (struct client *)
 
const char * server_client_get_cwd (struct client *, struct session *)
 
void server_client_set_flags (struct client *, const char *)
 
const char * server_client_get_flags (struct client *)
 
struct window_paneserver_client_get_pane (struct client *)
 
void server_client_set_pane (struct client *, struct window_pane *)
 
void server_client_remove_pane (struct window_pane *)
 
void server_redraw_client (struct client *)
 
void server_status_client (struct client *)
 
void server_redraw_session (struct session *)
 
void server_redraw_session_group (struct session *)
 
void server_status_session (struct session *)
 
void server_status_session_group (struct session *)
 
void server_redraw_window (struct window *)
 
void server_redraw_window_borders (struct window *)
 
void server_status_window (struct window *)
 
void server_lock (void)
 
void server_lock_session (struct session *)
 
void server_lock_client (struct client *)
 
void server_kill_pane (struct window_pane *)
 
void server_kill_window (struct window *, int)
 
void server_renumber_session (struct session *)
 
void server_renumber_all (void)
 
int server_link_window (struct session *, struct winlink *, struct session *, int, int, int, char **)
 
void server_unlink_window (struct session *, struct winlink *)
 
void server_destroy_pane (struct window_pane *, int)
 
void server_destroy_session (struct session *)
 
void server_check_unattached (void)
 
void server_unzoom_window (struct window *)
 
void status_timer_start (struct client *)
 
void status_timer_start_all (void)
 
void status_update_cache (struct session *)
 
int status_at_line (struct client *)
 
u_int status_line_size (struct client *)
 
struct style_rangestatus_get_range (struct client *, u_int, u_int)
 
void status_init (struct client *)
 
void status_free (struct client *)
 
int status_redraw (struct client *)
 
void status_message_set (struct client *, int, int, int, const char *,...)
 
void status_message_clear (struct client *)
 
int status_message_redraw (struct client *)
 
void status_prompt_set (struct client *, struct cmd_find_state *, const char *, const char *, prompt_input_cb, prompt_free_cb, void *, int)
 
void status_prompt_clear (struct client *)
 
int status_prompt_redraw (struct client *)
 
int status_prompt_key (struct client *, key_code)
 
void status_prompt_update (struct client *, const char *, const char *)
 
void status_prompt_load_history (void)
 
void status_prompt_save_history (void)
 
void resize_window (struct window *, u_int, u_int, int, int)
 
void default_window_size (struct client *, struct session *, struct window *, u_int *, u_int *, u_int *, u_int *, int)
 
void recalculate_size (struct window *, int)
 
void recalculate_sizes (void)
 
void recalculate_sizes_now (int)
 
struct input_ctxinput_init (struct window_pane *, struct bufferevent *)
 
void input_free (struct input_ctx *)
 
void input_reset (struct input_ctx *, int)
 
struct evbuffer * input_pending (struct input_ctx *)
 
void input_parse_pane (struct window_pane *)
 
void input_parse_buffer (struct window_pane *, u_char *, size_t)
 
void input_parse_screen (struct input_ctx *, struct screen *, screen_write_init_ctx_cb, void *, u_char *, size_t)
 
void input_key_build (void)
 
int input_key_pane (struct window_pane *, key_code, struct mouse_event *)
 
int input_key (struct screen *, struct bufferevent *, key_code)
 
int input_key_get_mouse (struct screen *, struct mouse_event *, u_int, u_int, const char **, size_t *)
 
int colour_find_rgb (u_char, u_char, u_char)
 
int colour_join_rgb (u_char, u_char, u_char)
 
void colour_split_rgb (int, u_char *, u_char *, u_char *)
 
const char * colour_tostring (int)
 
int colour_fromstring (const char *s)
 
int colour_256toRGB (int)
 
int colour_256to16 (int)
 
int colour_byname (const char *)
 
const char * attributes_tostring (int)
 
int attributes_fromstring (const char *)
 
void grid_empty_line (struct grid *, u_int, u_int)
 
int grid_cells_equal (const struct grid_cell *, const struct grid_cell *)
 
int grid_cells_look_equal (const struct grid_cell *, const struct grid_cell *)
 
struct gridgrid_create (u_int, u_int, u_int)
 
void grid_destroy (struct grid *)
 
int grid_compare (struct grid *, struct grid *)
 
void grid_collect_history (struct grid *)
 
void grid_remove_history (struct grid *, u_int)
 
void grid_scroll_history (struct grid *, u_int)
 
void grid_scroll_history_region (struct grid *, u_int, u_int, u_int)
 
void grid_clear_history (struct grid *)
 
const struct grid_linegrid_peek_line (struct grid *, u_int)
 
void grid_get_cell (struct grid *, u_int, u_int, struct grid_cell *)
 
void grid_set_cell (struct grid *, u_int, u_int, const struct grid_cell *)
 
void grid_set_padding (struct grid *, u_int, u_int)
 
void grid_set_cells (struct grid *, u_int, u_int, const struct grid_cell *, const char *, size_t)
 
struct grid_linegrid_get_line (struct grid *, u_int)
 
void grid_adjust_lines (struct grid *, u_int)
 
void grid_clear (struct grid *, u_int, u_int, u_int, u_int, u_int)
 
void grid_clear_lines (struct grid *, u_int, u_int, u_int)
 
void grid_move_lines (struct grid *, u_int, u_int, u_int, u_int)
 
void grid_move_cells (struct grid *, u_int, u_int, u_int, u_int, u_int)
 
char * grid_string_cells (struct grid *, u_int, u_int, u_int, struct grid_cell **, int, int, int)
 
void grid_duplicate_lines (struct grid *, u_int, struct grid *, u_int, u_int)
 
void grid_reflow (struct grid *, u_int)
 
void grid_wrap_position (struct grid *, u_int, u_int, u_int *, u_int *)
 
void grid_unwrap_position (struct grid *, u_int *, u_int *, u_int, u_int)
 
u_int grid_line_length (struct grid *, u_int)
 
void grid_reader_start (struct grid_reader *, struct grid *, u_int, u_int)
 
void grid_reader_get_cursor (struct grid_reader *, u_int *, u_int *)
 
u_int grid_reader_line_length (struct grid_reader *)
 
int grid_reader_in_set (struct grid_reader *, const char *)
 
void grid_reader_cursor_right (struct grid_reader *, int, int)
 
void grid_reader_cursor_left (struct grid_reader *, int)
 
void grid_reader_cursor_down (struct grid_reader *)
 
void grid_reader_cursor_up (struct grid_reader *)
 
void grid_reader_cursor_start_of_line (struct grid_reader *, int)
 
void grid_reader_cursor_end_of_line (struct grid_reader *, int, int)
 
void grid_reader_cursor_next_word (struct grid_reader *, const char *)
 
void grid_reader_cursor_next_word_end (struct grid_reader *, const char *)
 
void grid_reader_cursor_previous_word (struct grid_reader *, const char *, int)
 
int grid_reader_cursor_jump (struct grid_reader *, const struct utf8_data *)
 
int grid_reader_cursor_jump_back (struct grid_reader *, const struct utf8_data *)
 
void grid_reader_cursor_back_to_indentation (struct grid_reader *)
 
void grid_view_get_cell (struct grid *, u_int, u_int, struct grid_cell *)
 
void grid_view_set_cell (struct grid *, u_int, u_int, const struct grid_cell *)
 
void grid_view_set_padding (struct grid *, u_int, u_int)
 
void grid_view_set_cells (struct grid *, u_int, u_int, const struct grid_cell *, const char *, size_t)
 
void grid_view_clear_history (struct grid *, u_int)
 
void grid_view_clear (struct grid *, u_int, u_int, u_int, u_int, u_int)
 
void grid_view_scroll_region_up (struct grid *, u_int, u_int, u_int)
 
void grid_view_scroll_region_down (struct grid *, u_int, u_int, u_int)
 
void grid_view_insert_lines (struct grid *, u_int, u_int, u_int)
 
void grid_view_insert_lines_region (struct grid *, u_int, u_int, u_int, u_int)
 
void grid_view_delete_lines (struct grid *, u_int, u_int, u_int)
 
void grid_view_delete_lines_region (struct grid *, u_int, u_int, u_int, u_int)
 
void grid_view_insert_cells (struct grid *, u_int, u_int, u_int, u_int)
 
void grid_view_delete_cells (struct grid *, u_int, u_int, u_int, u_int)
 
char * grid_view_string_cells (struct grid *, u_int, u_int, u_int)
 
void screen_write_make_list (struct screen *)
 
void screen_write_free_list (struct screen *)
 
void screen_write_start_pane (struct screen_write_ctx *, struct window_pane *, struct screen *)
 
void screen_write_start (struct screen_write_ctx *, struct screen *)
 
void screen_write_start_callback (struct screen_write_ctx *, struct screen *, screen_write_init_ctx_cb, void *)
 
void screen_write_stop (struct screen_write_ctx *)
 
void screen_write_reset (struct screen_write_ctx *)
 
size_t screen_write_strlen (const char *,...)
 
int screen_write_text (struct screen_write_ctx *, u_int, u_int, u_int, int, const struct grid_cell *, const char *,...)
 
void screen_write_puts (struct screen_write_ctx *, const struct grid_cell *, const char *,...)
 
void screen_write_nputs (struct screen_write_ctx *, ssize_t, const struct grid_cell *, const char *,...)
 
void screen_write_vnputs (struct screen_write_ctx *, ssize_t, const struct grid_cell *, const char *, va_list)
 
void screen_write_putc (struct screen_write_ctx *, const struct grid_cell *, u_char)
 
void screen_write_fast_copy (struct screen_write_ctx *, struct screen *, u_int, u_int, u_int, u_int)
 
void screen_write_hline (struct screen_write_ctx *, u_int, int, int)
 
void screen_write_vline (struct screen_write_ctx *, u_int, int, int)
 
void screen_write_menu (struct screen_write_ctx *, struct menu *, int, const struct grid_cell *)
 
void screen_write_box (struct screen_write_ctx *, u_int, u_int)
 
void screen_write_preview (struct screen_write_ctx *, struct screen *, u_int, u_int)
 
void screen_write_backspace (struct screen_write_ctx *)
 
void screen_write_mode_set (struct screen_write_ctx *, int)
 
void screen_write_mode_clear (struct screen_write_ctx *, int)
 
void screen_write_cursorup (struct screen_write_ctx *, u_int)
 
void screen_write_cursordown (struct screen_write_ctx *, u_int)
 
void screen_write_cursorright (struct screen_write_ctx *, u_int)
 
void screen_write_cursorleft (struct screen_write_ctx *, u_int)
 
void screen_write_alignmenttest (struct screen_write_ctx *)
 
void screen_write_insertcharacter (struct screen_write_ctx *, u_int, u_int)
 
void screen_write_deletecharacter (struct screen_write_ctx *, u_int, u_int)
 
void screen_write_clearcharacter (struct screen_write_ctx *, u_int, u_int)
 
void screen_write_insertline (struct screen_write_ctx *, u_int, u_int)
 
void screen_write_deleteline (struct screen_write_ctx *, u_int, u_int)
 
void screen_write_clearline (struct screen_write_ctx *, u_int)
 
void screen_write_clearendofline (struct screen_write_ctx *, u_int)
 
void screen_write_clearstartofline (struct screen_write_ctx *, u_int)
 
void screen_write_cursormove (struct screen_write_ctx *, int, int, int)
 
void screen_write_reverseindex (struct screen_write_ctx *, u_int)
 
void screen_write_scrollregion (struct screen_write_ctx *, u_int, u_int)
 
void screen_write_linefeed (struct screen_write_ctx *, int, u_int)
 
void screen_write_scrollup (struct screen_write_ctx *, u_int, u_int)
 
void screen_write_scrolldown (struct screen_write_ctx *, u_int, u_int)
 
void screen_write_carriagereturn (struct screen_write_ctx *)
 
void screen_write_clearendofscreen (struct screen_write_ctx *, u_int)
 
void screen_write_clearstartofscreen (struct screen_write_ctx *, u_int)
 
void screen_write_clearscreen (struct screen_write_ctx *, u_int)
 
void screen_write_clearhistory (struct screen_write_ctx *)
 
void screen_write_collect_end (struct screen_write_ctx *)
 
void screen_write_collect_add (struct screen_write_ctx *, const struct grid_cell *)
 
void screen_write_cell (struct screen_write_ctx *, const struct grid_cell *)
 
void screen_write_setselection (struct screen_write_ctx *, u_char *, u_int)
 
void screen_write_rawstring (struct screen_write_ctx *, u_char *, u_int)
 
void screen_write_alternateon (struct screen_write_ctx *, struct grid_cell *, int)
 
void screen_write_alternateoff (struct screen_write_ctx *, struct grid_cell *, int)
 
void screen_redraw_screen (struct client *)
 
void screen_redraw_pane (struct client *, struct window_pane *)
 
void screen_init (struct screen *, u_int, u_int, u_int)
 
void screen_reinit (struct screen *)
 
void screen_free (struct screen *)
 
void screen_reset_tabs (struct screen *)
 
void screen_set_cursor_style (struct screen *, u_int)
 
void screen_set_cursor_colour (struct screen *, const char *)
 
int screen_set_title (struct screen *, const char *)
 
void screen_set_path (struct screen *, const char *)
 
void screen_push_title (struct screen *)
 
void screen_pop_title (struct screen *)
 
void screen_resize (struct screen *, u_int, u_int, int)
 
void screen_resize_cursor (struct screen *, u_int, u_int, int, int, int)
 
void screen_set_selection (struct screen *, u_int, u_int, u_int, u_int, u_int, int, struct grid_cell *)
 
void screen_clear_selection (struct screen *)
 
void screen_hide_selection (struct screen *)
 
int screen_check_selection (struct screen *, u_int, u_int)
 
void screen_select_cell (struct screen *, struct grid_cell *, const struct grid_cell *)
 
void screen_alternate_on (struct screen *, struct grid_cell *, int)
 
void screen_alternate_off (struct screen *, struct grid_cell *, int)
 
int window_cmp (struct window *, struct window *)
 
 RB_PROTOTYPE (windows, window, entry, window_cmp)
 
int winlink_cmp (struct winlink *, struct winlink *)
 
 RB_PROTOTYPE (winlinks, winlink, entry, winlink_cmp)
 
int window_pane_cmp (struct window_pane *, struct window_pane *)
 
 RB_PROTOTYPE (window_pane_tree, window_pane, tree_entry, window_pane_cmp)
 
struct winlinkwinlink_find_by_index (struct winlinks *, int)
 
struct winlinkwinlink_find_by_window (struct winlinks *, struct window *)
 
struct winlinkwinlink_find_by_window_id (struct winlinks *, u_int)
 
u_int winlink_count (struct winlinks *)
 
struct winlinkwinlink_add (struct winlinks *, int)
 
void winlink_set_window (struct winlink *, struct window *)
 
void winlink_remove (struct winlinks *, struct winlink *)
 
struct winlinkwinlink_next (struct winlink *)
 
struct winlinkwinlink_previous (struct winlink *)
 
struct winlinkwinlink_next_by_number (struct winlink *, struct session *, int)
 
struct winlinkwinlink_previous_by_number (struct winlink *, struct session *, int)
 
void winlink_stack_push (struct winlink_stack *, struct winlink *)
 
void winlink_stack_remove (struct winlink_stack *, struct winlink *)
 
struct windowwindow_find_by_id_str (const char *)
 
struct windowwindow_find_by_id (u_int)
 
void window_update_activity (struct window *)
 
struct windowwindow_create (u_int, u_int, u_int, u_int)
 
void window_pane_set_event (struct window_pane *)
 
struct window_panewindow_get_active_at (struct window *, u_int, u_int)
 
struct window_panewindow_find_string (struct window *, const char *)
 
int window_has_pane (struct window *, struct window_pane *)
 
int window_set_active_pane (struct window *, struct window_pane *, int)
 
void window_redraw_active_switch (struct window *, struct window_pane *)
 
struct window_panewindow_add_pane (struct window *, struct window_pane *, u_int, int)
 
void window_resize (struct window *, u_int, u_int, int, int)
 
void window_pane_send_resize (struct window_pane *, u_int, u_int)
 
int window_zoom (struct window_pane *)
 
int window_unzoom (struct window *)
 
int window_push_zoom (struct window *, int, int)
 
int window_pop_zoom (struct window *)
 
void window_lost_pane (struct window *, struct window_pane *)
 
void window_remove_pane (struct window *, struct window_pane *)
 
struct window_panewindow_pane_at_index (struct window *, u_int)
 
struct window_panewindow_pane_next_by_number (struct window *, struct window_pane *, u_int)
 
struct window_panewindow_pane_previous_by_number (struct window *, struct window_pane *, u_int)
 
int window_pane_index (struct window_pane *, u_int *)
 
u_int window_count_panes (struct window *)
 
void window_destroy_panes (struct window *)
 
struct window_panewindow_pane_find_by_id_str (const char *)
 
struct window_panewindow_pane_find_by_id (u_int)
 
int window_pane_destroy_ready (struct window_pane *)
 
void window_pane_resize (struct window_pane *, u_int, u_int)
 
void window_pane_set_palette (struct window_pane *, u_int, int)
 
void window_pane_unset_palette (struct window_pane *, u_int)
 
void window_pane_reset_palette (struct window_pane *)
 
int window_pane_get_palette (struct window_pane *, int)
 
int window_pane_set_mode (struct window_pane *, struct window_pane *, const struct window_mode *, struct cmd_find_state *, struct args *)
 
void window_pane_reset_mode (struct window_pane *)
 
void window_pane_reset_mode_all (struct window_pane *)
 
int window_pane_key (struct window_pane *, struct client *, struct session *, struct winlink *, key_code, struct mouse_event *)
 
int window_pane_visible (struct window_pane *)
 
u_int window_pane_search (struct window_pane *, const char *, int, int)
 
const char * window_printable_flags (struct winlink *, int)
 
struct window_panewindow_pane_find_up (struct window_pane *)
 
struct window_panewindow_pane_find_down (struct window_pane *)
 
struct window_panewindow_pane_find_left (struct window_pane *)
 
struct window_panewindow_pane_find_right (struct window_pane *)
 
void window_set_name (struct window *, const char *)
 
void window_add_ref (struct window *, const char *)
 
void window_remove_ref (struct window *, const char *)
 
void winlink_clear_flags (struct winlink *)
 
int winlink_shuffle_up (struct session *, struct winlink *, int)
 
int window_pane_start_input (struct window_pane *, struct cmdq_item *, char **)
 
void * window_pane_get_new_data (struct window_pane *, struct window_pane_offset *, size_t *)
 
void window_pane_update_used_data (struct window_pane *, struct window_pane_offset *, size_t)
 
u_int layout_count_cells (struct layout_cell *)
 
struct layout_celllayout_create_cell (struct layout_cell *)
 
void layout_free_cell (struct layout_cell *)
 
void layout_print_cell (struct layout_cell *, const char *, u_int)
 
void layout_destroy_cell (struct window *, struct layout_cell *, struct layout_cell **)
 
void layout_resize_layout (struct window *, struct layout_cell *, enum layout_type, int, int)
 
struct layout_celllayout_search_by_border (struct layout_cell *, u_int, u_int)
 
void layout_set_size (struct layout_cell *, u_int, u_int, u_int, u_int)
 
void layout_make_leaf (struct layout_cell *, struct window_pane *)
 
void layout_make_node (struct layout_cell *, enum layout_type)
 
void layout_fix_offsets (struct window *)
 
void layout_fix_panes (struct window *, struct window_pane *)
 
void layout_resize_adjust (struct window *, struct layout_cell *, enum layout_type, int)
 
void layout_init (struct window *, struct window_pane *)
 
void layout_free (struct window *)
 
void layout_resize (struct window *, u_int, u_int)
 
void layout_resize_pane (struct window_pane *, enum layout_type, int, int)
 
void layout_resize_pane_to (struct window_pane *, enum layout_type, u_int)
 
void layout_assign_pane (struct layout_cell *, struct window_pane *, int)
 
struct layout_celllayout_split_pane (struct window_pane *, enum layout_type, int, int)
 
void layout_close_pane (struct window_pane *)
 
int layout_spread_cell (struct window *, struct layout_cell *)
 
void layout_spread_out (struct window_pane *)
 
char * layout_dump (struct layout_cell *)
 
int layout_parse (struct window *, const char *)
 
int layout_set_lookup (const char *)
 
u_int layout_set_select (struct window *, u_int)
 
u_int layout_set_next (struct window *)
 
u_int layout_set_previous (struct window *)
 
u_int mode_tree_count_tagged (struct mode_tree_data *)
 
void * mode_tree_get_current (struct mode_tree_data *)
 
const char * mode_tree_get_current_name (struct mode_tree_data *)
 
void mode_tree_expand_current (struct mode_tree_data *)
 
void mode_tree_collapse_current (struct mode_tree_data *)
 
void mode_tree_expand (struct mode_tree_data *, uint64_t)
 
int mode_tree_set_current (struct mode_tree_data *, uint64_t)
 
void mode_tree_each_tagged (struct mode_tree_data *, mode_tree_each_cb, struct client *, key_code, int)
 
void mode_tree_up (struct mode_tree_data *, int)
 
void mode_tree_down (struct mode_tree_data *, int)
 
struct mode_tree_datamode_tree_start (struct window_pane *, struct args *, mode_tree_build_cb, mode_tree_draw_cb, mode_tree_search_cb, mode_tree_menu_cb, mode_tree_height_cb, mode_tree_key_cb, void *, const struct menu_item *, const char **, u_int, struct screen **)
 
void mode_tree_zoom (struct mode_tree_data *, struct args *)
 
void mode_tree_build (struct mode_tree_data *)
 
void mode_tree_free (struct mode_tree_data *)
 
void mode_tree_resize (struct mode_tree_data *, u_int, u_int)
 
struct mode_tree_itemmode_tree_add (struct mode_tree_data *, struct mode_tree_item *, void *, uint64_t, const char *, const char *, int)
 
void mode_tree_draw_as_parent (struct mode_tree_item *)
 
void mode_tree_no_tag (struct mode_tree_item *)
 
void mode_tree_remove (struct mode_tree_data *, struct mode_tree_item *)
 
void mode_tree_draw (struct mode_tree_data *)
 
int mode_tree_key (struct mode_tree_data *, struct client *, key_code *, struct mouse_event *, u_int *, u_int *)
 
void mode_tree_run_command (struct client *, struct cmd_find_state *, const char *, const char *)
 
void window_copy_add (struct window_pane *, const char *,...)
 
void window_copy_vadd (struct window_pane *, const char *, va_list)
 
void window_copy_pageup (struct window_pane *, int)
 
void window_copy_start_drag (struct client *, struct mouse_event *)
 
char * window_copy_get_word (struct window_pane *, u_int, u_int)
 
char * window_copy_get_line (struct window_pane *, u_int)
 
void check_window_name (struct window *)
 
char * default_window_name (struct window *)
 
char * parse_window_name (const char *)
 
void control_discard (struct client *)
 
void control_start (struct client *)
 
void control_stop (struct client *)
 
void control_set_pane_on (struct client *, struct window_pane *)
 
void control_set_pane_off (struct client *, struct window_pane *)
 
void control_continue_pane (struct client *, struct window_pane *)
 
void control_pause_pane (struct client *, struct window_pane *)
 
struct window_pane_offsetcontrol_pane_offset (struct client *, struct window_pane *, int *)
 
void control_reset_offsets (struct client *)
 
void control_write (struct client *, const char *,...)
 
void control_write_output (struct client *, struct window_pane *)
 
int control_all_done (struct client *)
 
void control_add_sub (struct client *, const char *, enum control_sub_type, int, const char *)
 
void control_remove_sub (struct client *, const char *)
 
void control_notify_input (struct client *, struct window_pane *, const u_char *, size_t)
 
void control_notify_pane_mode_changed (int)
 
void control_notify_window_layout_changed (struct window *)
 
void control_notify_window_pane_changed (struct window *)
 
void control_notify_window_unlinked (struct session *, struct window *)
 
void control_notify_window_linked (struct session *, struct window *)
 
void control_notify_window_renamed (struct window *)
 
void control_notify_client_session_changed (struct client *)
 
void control_notify_client_detached (struct client *)
 
void control_notify_session_renamed (struct session *)
 
void control_notify_session_created (struct session *)
 
void control_notify_session_closed (struct session *)
 
void control_notify_session_window_changed (struct session *)
 
int session_cmp (struct session *, struct session *)
 
 RB_PROTOTYPE (sessions, session, entry, session_cmp)
 
int session_alive (struct session *)
 
struct sessionsession_find (const char *)
 
struct sessionsession_find_by_id_str (const char *)
 
struct sessionsession_find_by_id (u_int)
 
struct sessionsession_create (const char *, const char *, const char *, struct environ *, struct options *, struct termios *)
 
void session_destroy (struct session *, int, const char *)
 
void session_add_ref (struct session *, const char *)
 
void session_remove_ref (struct session *, const char *)
 
char * session_check_name (const char *)
 
void session_update_activity (struct session *, struct timeval *)
 
struct sessionsession_next_session (struct session *)
 
struct sessionsession_previous_session (struct session *)
 
struct winlinksession_new (struct session *, const char *, int, char **, const char *, const char *, int, char **)
 
struct winlinksession_attach (struct session *, struct window *, int, char **)
 
int session_detach (struct session *, struct winlink *)
 
int session_has (struct session *, struct window *)
 
int session_is_linked (struct session *, struct window *)
 
int session_next (struct session *, int)
 
int session_previous (struct session *, int)
 
int session_select (struct session *, int)
 
int session_last (struct session *)
 
int session_set_current (struct session *, struct winlink *)
 
struct session_groupsession_group_contains (struct session *)
 
struct session_groupsession_group_find (const char *)
 
struct session_groupsession_group_new (const char *)
 
void session_group_add (struct session_group *, struct session *)
 
void session_group_synchronize_to (struct session *)
 
void session_group_synchronize_from (struct session *)
 
u_int session_group_count (struct session_group *)
 
u_int session_group_attached_count (struct session_group *)
 
void session_renumber_windows (struct session *)
 
utf8_char utf8_build_one (u_char)
 
enum utf8_state utf8_from_data (const struct utf8_data *, utf8_char *)
 
void utf8_to_data (utf8_char, struct utf8_data *)
 
void utf8_set (struct utf8_data *, u_char)
 
void utf8_copy (struct utf8_data *, const struct utf8_data *)
 
enum utf8_state utf8_open (struct utf8_data *, u_char)
 
enum utf8_state utf8_append (struct utf8_data *, u_char)
 
int utf8_isvalid (const char *)
 
int utf8_strvis (char *, const char *, size_t, int)
 
int utf8_stravis (char **, const char *, int)
 
int utf8_stravisx (char **, const char *, size_t, int)
 
char * utf8_sanitize (const char *)
 
size_t utf8_strlen (const struct utf8_data *)
 
u_int utf8_strwidth (const struct utf8_data *, ssize_t)
 
struct utf8_datautf8_fromcstr (const char *)
 
char * utf8_tocstr (struct utf8_data *)
 
u_int utf8_cstrwidth (const char *)
 
char * utf8_padcstr (const char *, u_int)
 
char * utf8_rpadcstr (const char *, u_int)
 
int utf8_cstrhas (const char *, const struct utf8_data *)
 
char * osdep_get_name (int, char *)
 
char * osdep_get_cwd (int)
 
struct event_base * osdep_event_init (void)
 
void log_add_level (void)
 
int log_get_level (void)
 
void log_open (const char *)
 
void log_toggle (const char *)
 
void log_close (void)
 
void log_debug (const char *,...)
 
void fatal (const char *,...)
 
void fatalx (const char *,...)
 
struct menumenu_create (const char *)
 
void menu_add_items (struct menu *, const struct menu_item *, struct cmdq_item *, struct client *, struct cmd_find_state *)
 
void menu_add_item (struct menu *, const struct menu_item *, struct cmdq_item *, struct client *, struct cmd_find_state *)
 
void menu_free (struct menu *)
 
int menu_display (struct menu *, int, struct cmdq_item *, u_int, u_int, struct client *, struct cmd_find_state *, menu_choice_cb, void *)
 
int popup_display (int, struct cmdq_item *, u_int, u_int, u_int, u_int, const char *, int, char **, const char *, struct client *, struct session *, popup_close_cb, void *)
 
int popup_editor (struct client *, const char *, size_t, popup_finish_edit_cb, void *)
 
int style_parse (struct style *, const struct grid_cell *, const char *)
 
const char * style_tostring (struct style *)
 
void style_add (struct grid_cell *, struct options *, const char *, struct format_tree *)
 
void style_apply (struct grid_cell *, struct options *, const char *, struct format_tree *)
 
void style_set (struct style *, const struct grid_cell *)
 
void style_copy (struct style *, struct style *)
 
struct winlinkspawn_window (struct spawn_context *, char **)
 
struct window_panespawn_pane (struct spawn_context *, char **)
 
char * regsub (const char *, const char *, const char *, int)
 

Variables

char ** environ
 
struct optionsglobal_options
 
struct optionsglobal_s_options
 
struct optionsglobal_w_options
 
struct environglobal_environ
 
struct timeval start_time
 
const char * socket_path
 
const char * shell_command
 
int ptm_fd
 
int cfg_finished
 
struct clientcfg_client
 
char ** cfg_files
 
u_int cfg_nfiles
 
int cfg_quiet
 
const struct options_table_entry options_table []
 
const struct options_name_map options_other_names []
 
struct tty_terms tty_terms
 
const struct cmd_entrycmd_table []
 
struct tmuxprocserver_proc
 
struct clients clients
 
struct cmd_find_state marked_pane
 
struct message_list message_log
 
const struct grid_cell grid_default_cell
 
struct windows windows
 
struct window_pane_tree all_window_panes
 
const struct window_mode window_buffer_mode
 
const struct window_mode window_tree_mode
 
const struct window_mode window_clock_mode
 
const char window_clock_table [14][5][5]
 
const struct window_mode window_client_mode
 
const struct window_mode window_copy_mode
 
const struct window_mode window_view_mode
 
const struct window_mode window_customize_mode
 
struct sessions sessions
 

Macro Definition Documentation

◆ ALERT_ANY

#define ALERT_ANY   1

Definition at line 103 of file tmux.h.

◆ ALERT_CURRENT

#define ALERT_CURRENT   2

Definition at line 104 of file tmux.h.

◆ ALERT_NONE

#define ALERT_NONE   0

Definition at line 102 of file tmux.h.

◆ ALERT_OTHER

#define ALERT_OTHER   3

Definition at line 105 of file tmux.h.

◆ ALL_MODES

#define ALL_MODES   0xffffff

Definition at line 615 of file tmux.h.

◆ ALL_MOUSE_MODES

#define ALL_MOUSE_MODES   (MODE_MOUSE_STANDARD|MODE_MOUSE_BUTTON|MODE_MOUSE_ALL)

Definition at line 616 of file tmux.h.

◆ CLIENT_ACTIVEPANE

#define CLIENT_ACTIVEPANE   0x80000000ULL

Definition at line 1685 of file tmux.h.

◆ CLIENT_ALLREDRAWFLAGS

#define CLIENT_ALLREDRAWFLAGS
Value:
CLIENT_REDRAWSTATUS| \
CLIENT_REDRAWSTATUSALWAYS| \
CLIENT_REDRAWBORDERS| \
CLIENT_REDRAWOVERLAY| \
CLIENT_REDRAWPANES)
#define CLIENT_REDRAWWINDOW
Definition: tmux.h:1657

Definition at line 1688 of file tmux.h.

◆ CLIENT_ATTACHED

#define CLIENT_ATTACHED   0x80

Definition at line 1661 of file tmux.h.

◆ CLIENT_CONTROL

#define CLIENT_CONTROL   0x2000

Definition at line 1667 of file tmux.h.

◆ CLIENT_CONTROL_NOOUTPUT

#define CLIENT_CONTROL_NOOUTPUT   0x4000000

Definition at line 1680 of file tmux.h.

◆ CLIENT_CONTROL_PAUSEAFTER

#define CLIENT_CONTROL_PAUSEAFTER   0x100000000ULL

Definition at line 1686 of file tmux.h.

◆ CLIENT_CONTROL_WAITEXIT

#define CLIENT_CONTROL_WAITEXIT   0x200000000ULL

Definition at line 1687 of file tmux.h.

◆ CLIENT_CONTROLCONTROL

#define CLIENT_CONTROLCONTROL   0x4000

Definition at line 1668 of file tmux.h.

◆ CLIENT_DEAD

#define CLIENT_DEAD   0x200

Definition at line 1663 of file tmux.h.

◆ CLIENT_DEFAULTSOCKET

#define CLIENT_DEFAULTSOCKET   0x8000000

Definition at line 1681 of file tmux.h.

◆ CLIENT_DOUBLECLICK

#define CLIENT_DOUBLECLICK   0x100000

Definition at line 1674 of file tmux.h.

◆ CLIENT_EXIT

#define CLIENT_EXIT   0x4

Definition at line 1656 of file tmux.h.

◆ CLIENT_EXITED

#define CLIENT_EXITED   0x100

Definition at line 1662 of file tmux.h.

◆ CLIENT_FOCUSED

#define CLIENT_FOCUSED   0x8000

Definition at line 1669 of file tmux.h.

◆ CLIENT_IDENTIFIED

#define CLIENT_IDENTIFIED   0x40000

Definition at line 1672 of file tmux.h.

◆ CLIENT_IGNORESIZE

#define CLIENT_IGNORESIZE   0x20000

Definition at line 1671 of file tmux.h.

◆ CLIENT_LOGIN

#define CLIENT_LOGIN   0x2

Definition at line 1655 of file tmux.h.

◆ CLIENT_NOFORK

#define CLIENT_NOFORK   0x40000000

Definition at line 1684 of file tmux.h.

◆ CLIENT_NOSIZEFLAGS

#define CLIENT_NOSIZEFLAGS
Value:
CLIENT_SUSPENDED| \
CLIENT_EXIT)
#define CLIENT_DEAD
Definition: tmux.h:1663

Definition at line 1699 of file tmux.h.

◆ CLIENT_NOSTARTSERVER

#define CLIENT_NOSTARTSERVER   0x1000

Definition at line 1666 of file tmux.h.

◆ CLIENT_READONLY

#define CLIENT_READONLY   0x800

Definition at line 1665 of file tmux.h.

◆ CLIENT_REDRAWBORDERS

#define CLIENT_REDRAWBORDERS   0x400

Definition at line 1664 of file tmux.h.

◆ CLIENT_REDRAWOVERLAY

#define CLIENT_REDRAWOVERLAY   0x2000000

Definition at line 1679 of file tmux.h.

◆ CLIENT_REDRAWPANES

#define CLIENT_REDRAWPANES   0x20000000

Definition at line 1683 of file tmux.h.

◆ CLIENT_REDRAWSTATUS

#define CLIENT_REDRAWSTATUS   0x10

Definition at line 1658 of file tmux.h.

◆ CLIENT_REDRAWSTATUSALWAYS

#define CLIENT_REDRAWSTATUSALWAYS   0x1000000

Definition at line 1678 of file tmux.h.

◆ CLIENT_REDRAWWINDOW

#define CLIENT_REDRAWWINDOW   0x8

Definition at line 1657 of file tmux.h.

◆ CLIENT_REPEAT

#define CLIENT_REPEAT   0x20

Definition at line 1659 of file tmux.h.

◆ CLIENT_SIZECHANGED

#define CLIENT_SIZECHANGED   0x400000

Definition at line 1676 of file tmux.h.

◆ CLIENT_STARTSERVER

#define CLIENT_STARTSERVER   0x10000000

Definition at line 1682 of file tmux.h.

◆ CLIENT_STATUSFORCE

#define CLIENT_STATUSFORCE   0x80000

Definition at line 1673 of file tmux.h.

◆ CLIENT_STATUSOFF

#define CLIENT_STATUSOFF   0x800000

Definition at line 1677 of file tmux.h.

◆ CLIENT_SUSPENDED

#define CLIENT_SUSPENDED   0x40

Definition at line 1660 of file tmux.h.

◆ CLIENT_TERMINAL

#define CLIENT_TERMINAL   0x1

Definition at line 1654 of file tmux.h.

◆ CLIENT_TRIPLECLICK

#define CLIENT_TRIPLECLICK   0x200000

Definition at line 1675 of file tmux.h.

◆ CLIENT_UNATTACHEDFLAGS

#define CLIENT_UNATTACHEDFLAGS
Value:
CLIENT_SUSPENDED| \
CLIENT_EXIT)

Definition at line 1695 of file tmux.h.

◆ CLIENT_UTF8

#define CLIENT_UTF8   0x10000

Definition at line 1670 of file tmux.h.

◆ CMD_AFTERHOOK

#define CMD_AFTERHOOK   0x4

Definition at line 1541 of file tmux.h.

◆ CMD_BUFFER_USAGE

#define CMD_BUFFER_USAGE   "[-b buffer-name]"

Definition at line 1866 of file tmux.h.

◆ CMD_CLIENT_CANFAIL

#define CMD_CLIENT_CANFAIL   0x20

Definition at line 1544 of file tmux.h.

◆ CMD_CLIENT_CFLAG

#define CMD_CLIENT_CFLAG   0x8

Definition at line 1542 of file tmux.h.

◆ CMD_CLIENT_TFLAG

#define CMD_CLIENT_TFLAG   0x10

Definition at line 1543 of file tmux.h.

◆ CMD_FIND_CANFAIL

#define CMD_FIND_CANFAIL   0x40

Definition at line 1465 of file tmux.h.

◆ CMD_FIND_DEFAULT_MARKED

#define CMD_FIND_DEFAULT_MARKED   0x8

Definition at line 1462 of file tmux.h.

◆ CMD_FIND_EXACT_SESSION

#define CMD_FIND_EXACT_SESSION   0x10

Definition at line 1463 of file tmux.h.

◆ CMD_FIND_EXACT_WINDOW

#define CMD_FIND_EXACT_WINDOW   0x20

Definition at line 1464 of file tmux.h.

◆ CMD_FIND_PREFER_UNATTACHED

#define CMD_FIND_PREFER_UNATTACHED   0x1

Definition at line 1459 of file tmux.h.

◆ CMD_FIND_QUIET

#define CMD_FIND_QUIET   0x2

Definition at line 1460 of file tmux.h.

◆ CMD_FIND_WINDOW_INDEX

#define CMD_FIND_WINDOW_INDEX   0x4

Definition at line 1461 of file tmux.h.

◆ CMD_PARSE_NOALIAS

#define CMD_PARSE_NOALIAS   0x4

Definition at line 1497 of file tmux.h.

◆ CMD_PARSE_ONEGROUP

#define CMD_PARSE_ONEGROUP   0x10

Definition at line 1499 of file tmux.h.

◆ CMD_PARSE_PARSEONLY

#define CMD_PARSE_PARSEONLY   0x2

Definition at line 1496 of file tmux.h.

◆ CMD_PARSE_QUIET

#define CMD_PARSE_QUIET   0x1

Definition at line 1495 of file tmux.h.

◆ CMD_PARSE_VERBOSE

#define CMD_PARSE_VERBOSE   0x8

Definition at line 1498 of file tmux.h.

◆ CMD_READONLY

#define CMD_READONLY   0x2

Definition at line 1540 of file tmux.h.

◆ CMD_SRCDST_CLIENT_USAGE

#define CMD_SRCDST_CLIENT_USAGE   "[-s src-client] [-t dst-client]"

Definition at line 1865 of file tmux.h.

◆ CMD_SRCDST_PANE_USAGE

#define CMD_SRCDST_PANE_USAGE   "[-s src-pane] [-t dst-pane]"

Definition at line 1862 of file tmux.h.

◆ CMD_SRCDST_SESSION_USAGE

#define CMD_SRCDST_SESSION_USAGE   "[-s src-session] [-t dst-session]"

Definition at line 1864 of file tmux.h.

◆ CMD_SRCDST_WINDOW_USAGE

#define CMD_SRCDST_WINDOW_USAGE   "[-s src-window] [-t dst-window]"

Definition at line 1863 of file tmux.h.

◆ CMD_STARTSERVER

#define CMD_STARTSERVER   0x1

Definition at line 1539 of file tmux.h.

◆ CMD_TARGET_CLIENT_USAGE

#define CMD_TARGET_CLIENT_USAGE   "[-t target-client]"

Definition at line 1861 of file tmux.h.

◆ CMD_TARGET_PANE_USAGE

#define CMD_TARGET_PANE_USAGE   "[-t target-pane]"

Definition at line 1858 of file tmux.h.

◆ CMD_TARGET_SESSION_USAGE

#define CMD_TARGET_SESSION_USAGE   "[-t target-session]"

Definition at line 1860 of file tmux.h.

◆ CMD_TARGET_WINDOW_USAGE

#define CMD_TARGET_WINDOW_USAGE   "[-t target-window]"

Definition at line 1859 of file tmux.h.

◆ cmdq_get_callback

#define cmdq_get_callback (   cb,
  data 
)    cmdq_get_callback1(#cb, cb, data)

Definition at line 2364 of file tmux.h.

◆ CMDQ_STATE_CONTROL

#define CMDQ_STATE_CONTROL   0x2

Definition at line 1511 of file tmux.h.

◆ CMDQ_STATE_NOHOOKS

#define CMDQ_STATE_NOHOOKS   0x4

Definition at line 1512 of file tmux.h.

◆ CMDQ_STATE_REPEAT

#define CMDQ_STATE_REPEAT   0x1

Definition at line 1510 of file tmux.h.

◆ COLOUR_DEFAULT

#define COLOUR_DEFAULT (   c)    ((c) == 8 || (c) == 9)

Definition at line 647 of file tmux.h.

◆ COLOUR_FLAG_256

#define COLOUR_FLAG_256   0x01000000

Definition at line 643 of file tmux.h.

◆ COLOUR_FLAG_RGB

#define COLOUR_FLAG_RGB   0x02000000

Definition at line 644 of file tmux.h.

◆ DEFAULT_XPIXEL

#define DEFAULT_XPIXEL   16

Definition at line 90 of file tmux.h.

◆ DEFAULT_YPIXEL

#define DEFAULT_YPIXEL   32

Definition at line 91 of file tmux.h.

◆ ENVIRON_HIDDEN

#define ENVIRON_HIDDEN   0x1

Definition at line 1165 of file tmux.h.

◆ FORMAT_FORCE

#define FORMAT_FORCE   0x2

Definition at line 1970 of file tmux.h.

◆ FORMAT_NOJOBS

#define FORMAT_NOJOBS   0x4

Definition at line 1971 of file tmux.h.

◆ FORMAT_NONE

#define FORMAT_NONE   0

Definition at line 1973 of file tmux.h.

◆ FORMAT_PANE

#define FORMAT_PANE   0x80000000U

Definition at line 1974 of file tmux.h.

◆ FORMAT_STATUS

#define FORMAT_STATUS   0x1

Definition at line 1969 of file tmux.h.

◆ FORMAT_VERBOSE

#define FORMAT_VERBOSE   0x8

Definition at line 1972 of file tmux.h.

◆ FORMAT_WINDOW

#define FORMAT_WINDOW   0x40000000U

Definition at line 1975 of file tmux.h.

◆ GRID_ATTR_ALL_UNDERSCORE

#define GRID_ATTR_ALL_UNDERSCORE
Value:
GRID_ATTR_UNDERSCORE_2| \
GRID_ATTR_UNDERSCORE_3| \
GRID_ATTR_UNDERSCORE_4| \
GRID_ATTR_UNDERSCORE_5)
#define GRID_ATTR_UNDERSCORE
Definition: tmux.h:652

Definition at line 666 of file tmux.h.

◆ GRID_ATTR_BLINK

#define GRID_ATTR_BLINK   0x8

Definition at line 653 of file tmux.h.

◆ GRID_ATTR_BRIGHT

#define GRID_ATTR_BRIGHT   0x1

Definition at line 650 of file tmux.h.

◆ GRID_ATTR_CHARSET

#define GRID_ATTR_CHARSET   0x80 /* alternative character set */

Definition at line 657 of file tmux.h.

◆ GRID_ATTR_DIM

#define GRID_ATTR_DIM   0x2

Definition at line 651 of file tmux.h.

◆ GRID_ATTR_HIDDEN

#define GRID_ATTR_HIDDEN   0x20

Definition at line 655 of file tmux.h.

◆ GRID_ATTR_ITALICS

#define GRID_ATTR_ITALICS   0x40

Definition at line 656 of file tmux.h.

◆ GRID_ATTR_OVERLINE

#define GRID_ATTR_OVERLINE   0x2000

Definition at line 663 of file tmux.h.

◆ GRID_ATTR_REVERSE

#define GRID_ATTR_REVERSE   0x10

Definition at line 654 of file tmux.h.

◆ GRID_ATTR_STRIKETHROUGH

#define GRID_ATTR_STRIKETHROUGH   0x100

Definition at line 658 of file tmux.h.

◆ GRID_ATTR_UNDERSCORE

#define GRID_ATTR_UNDERSCORE   0x4

Definition at line 652 of file tmux.h.

◆ GRID_ATTR_UNDERSCORE_2

#define GRID_ATTR_UNDERSCORE_2   0x200

Definition at line 659 of file tmux.h.

◆ GRID_ATTR_UNDERSCORE_3

#define GRID_ATTR_UNDERSCORE_3   0x400

Definition at line 660 of file tmux.h.

◆ GRID_ATTR_UNDERSCORE_4

#define GRID_ATTR_UNDERSCORE_4   0x800

Definition at line 661 of file tmux.h.

◆ GRID_ATTR_UNDERSCORE_5

#define GRID_ATTR_UNDERSCORE_5   0x1000

Definition at line 662 of file tmux.h.

◆ GRID_FLAG_BG256

#define GRID_FLAG_BG256   0x2

Definition at line 675 of file tmux.h.

◆ GRID_FLAG_CLEARED

#define GRID_FLAG_CLEARED   0x40

Definition at line 680 of file tmux.h.

◆ GRID_FLAG_EXTENDED

#define GRID_FLAG_EXTENDED   0x8

Definition at line 677 of file tmux.h.

◆ GRID_FLAG_FG256

#define GRID_FLAG_FG256   0x1

Definition at line 674 of file tmux.h.

◆ GRID_FLAG_NOPALETTE

#define GRID_FLAG_NOPALETTE   0x20

Definition at line 679 of file tmux.h.

◆ GRID_FLAG_PADDING

#define GRID_FLAG_PADDING   0x4

Definition at line 676 of file tmux.h.

◆ GRID_FLAG_SELECTED

#define GRID_FLAG_SELECTED   0x10

Definition at line 678 of file tmux.h.

◆ GRID_HISTORY

#define GRID_HISTORY   0x1 /* scroll lines into history */

Definition at line 736 of file tmux.h.

◆ GRID_LINE_DEAD

#define GRID_LINE_DEAD   0x4

Definition at line 685 of file tmux.h.

◆ GRID_LINE_EXTENDED

#define GRID_LINE_EXTENDED   0x2

Definition at line 684 of file tmux.h.

◆ GRID_LINE_WRAPPED

#define GRID_LINE_WRAPPED   0x1

Definition at line 683 of file tmux.h.

◆ JOB_KEEPWRITE

#define JOB_KEEPWRITE   0x2

Definition at line 2100 of file tmux.h.

◆ JOB_NOWAIT

#define JOB_NOWAIT   0x1

Definition at line 2099 of file tmux.h.

◆ JOB_PTY

#define JOB_PTY   0x4

Definition at line 2101 of file tmux.h.

◆ KEY_BINDING_REPEAT

#define KEY_BINDING_REPEAT   0x1

Definition at line 1782 of file tmux.h.

◆ KEYC_BASE

#define KEYC_BASE   0x0000000010e000ULL

Definition at line 120 of file tmux.h.

◆ KEYC_BUILD_MODIFIERS

#define KEYC_BUILD_MODIFIERS   0x10000000000000ULL

Definition at line 133 of file tmux.h.

◆ KEYC_CLICK_TIMEOUT

#define KEYC_CLICK_TIMEOUT   300

Definition at line 155 of file tmux.h.

◆ KEYC_CTRL

#define KEYC_CTRL   0x00200000000000ULL

Definition at line 125 of file tmux.h.

◆ KEYC_CURSOR

#define KEYC_CURSOR   0x04000000000000ULL

Definition at line 131 of file tmux.h.

◆ KEYC_IMPLIED_META

#define KEYC_IMPLIED_META   0x08000000000000ULL

Definition at line 132 of file tmux.h.

◆ KEYC_IS_MOUSE

#define KEYC_IS_MOUSE (   key)
Value:
(((key) & KEYC_MASK_KEY) >= KEYC_MOUSE && \
key_code key
Definition: key-string.c:32
@ KEYC_MOUSE
Definition: tmux.h:193
@ KEYC_BSPACE
Definition: tmux.h:222
#define KEYC_MASK_KEY
Definition: tmux.h:138

Definition at line 144 of file tmux.h.

◆ KEYC_IS_UNICODE

#define KEYC_IS_UNICODE (   key)
Value:
(((key) & KEYC_MASK_KEY) > 0x7f && \
(((key) & KEYC_MASK_KEY) < KEYC_BASE || \
#define KEYC_BASE
Definition: tmux.h:120
@ KEYC_BASE_END
Definition: tmux.h:270

Definition at line 149 of file tmux.h.

◆ KEYC_KEYPAD

#define KEYC_KEYPAD   0x02000000000000ULL

Definition at line 130 of file tmux.h.

◆ KEYC_LITERAL

#define KEYC_LITERAL   0x01000000000000ULL

Definition at line 129 of file tmux.h.

◆ KEYC_MASK_FLAGS

#define KEYC_MASK_FLAGS   0xff000000000000ULL

Definition at line 137 of file tmux.h.

◆ KEYC_MASK_KEY

#define KEYC_MASK_KEY   0x000fffffffffffULL

Definition at line 138 of file tmux.h.

◆ KEYC_MASK_MODIFIERS

#define KEYC_MASK_MODIFIERS   0x00f00000000000ULL

Definition at line 136 of file tmux.h.

◆ KEYC_META

#define KEYC_META   0x00100000000000ULL

Definition at line 124 of file tmux.h.

◆ KEYC_MOUSE_KEY

#define KEYC_MOUSE_KEY (   name)
Value:
KEYC_ ## name ## _PANE, \
KEYC_ ## name ## _STATUS, \
KEYC_ ## name ## _STATUS_LEFT, \
KEYC_ ## name ## _STATUS_RIGHT, \
KEYC_ ## name ## _STATUS_DEFAULT, \
KEYC_ ## name ## _BORDER
const char * name
Definition: layout-set.c:38

Definition at line 158 of file tmux.h.

◆ KEYC_MOUSE_STRING

#define KEYC_MOUSE_STRING (   name,
 
)
Value:
{ #s "Pane", KEYC_ ## name ## _PANE }, \
{ #s "Status", KEYC_ ## name ## _STATUS }, \
{ #s "StatusLeft", KEYC_ ## name ## _STATUS_LEFT }, \
{ #s "StatusRight", KEYC_ ## name ## _STATUS_RIGHT }, \
{ #s "StatusDefault", KEYC_ ## name ## _STATUS_DEFAULT }, \
{ #s "Border", KEYC_ ## name ## _BORDER }

Definition at line 165 of file tmux.h.

◆ KEYC_NONE

#define KEYC_NONE   0x000ff000000000ULL

Definition at line 113 of file tmux.h.

◆ KEYC_NUSER

#define KEYC_NUSER   1000

Definition at line 141 of file tmux.h.

◆ KEYC_SHIFT

#define KEYC_SHIFT   0x00400000000000ULL

Definition at line 126 of file tmux.h.

◆ KEYC_UNKNOWN

#define KEYC_UNKNOWN   0x000fe000000000ULL

Definition at line 114 of file tmux.h.

◆ KEYC_USER

#define KEYC_USER   0x0000000010f000ULL

Definition at line 121 of file tmux.h.

◆ MENU_NOMOUSE

#define MENU_NOMOUSE   0x1

Definition at line 3062 of file tmux.h.

◆ MENU_STAYOPEN

#define MENU_STAYOPEN   0x4

Definition at line 3064 of file tmux.h.

◆ MENU_TAB

#define MENU_TAB   0x2

Definition at line 3063 of file tmux.h.

◆ MODE_BLINKING

#define MODE_BLINKING   0x80

Definition at line 605 of file tmux.h.

◆ MODE_BRACKETPASTE

#define MODE_BRACKETPASTE   0x400

Definition at line 608 of file tmux.h.

◆ MODE_CRLF

#define MODE_CRLF   0x4000

Definition at line 612 of file tmux.h.

◆ MODE_CURSOR

#define MODE_CURSOR   0x1

Definition at line 598 of file tmux.h.

◆ MODE_FOCUSON

#define MODE_FOCUSON   0x800

Definition at line 609 of file tmux.h.

◆ MODE_INSERT

#define MODE_INSERT   0x2

Definition at line 599 of file tmux.h.

◆ MODE_KCURSOR

#define MODE_KCURSOR   0x4

Definition at line 600 of file tmux.h.

◆ MODE_KEXTENDED

#define MODE_KEXTENDED   0x8000

Definition at line 613 of file tmux.h.

◆ MODE_KKEYPAD

#define MODE_KKEYPAD   0x8

Definition at line 601 of file tmux.h.

◆ MODE_MOUSE_ALL

#define MODE_MOUSE_ALL   0x1000

Definition at line 610 of file tmux.h.

◆ MODE_MOUSE_BUTTON

#define MODE_MOUSE_BUTTON   0x40

Definition at line 604 of file tmux.h.

◆ MODE_MOUSE_SGR

#define MODE_MOUSE_SGR   0x200

Definition at line 607 of file tmux.h.

◆ MODE_MOUSE_STANDARD

#define MODE_MOUSE_STANDARD   0x20

Definition at line 603 of file tmux.h.

◆ MODE_MOUSE_UTF8

#define MODE_MOUSE_UTF8   0x100

Definition at line 606 of file tmux.h.

◆ MODE_ORIGIN

#define MODE_ORIGIN   0x2000

Definition at line 611 of file tmux.h.

◆ MODE_WRAP

#define MODE_WRAP   0x10

Definition at line 602 of file tmux.h.

◆ MODEKEY_EMACS

#define MODEKEY_EMACS   0

Definition at line 594 of file tmux.h.

◆ MODEKEY_VI

#define MODEKEY_VI   1

Definition at line 595 of file tmux.h.

◆ MOTION_MOUSE_MODES

#define MOTION_MOUSE_MODES   (MODE_MOUSE_BUTTON|MODE_MOUSE_ALL)

Definition at line 617 of file tmux.h.

◆ MOUSE_BUTTONS

#define MOUSE_BUTTONS (   b)    ((b) & MOUSE_MASK_BUTTONS)

Definition at line 1231 of file tmux.h.

◆ MOUSE_DRAG

#define MOUSE_DRAG (   b)    ((b) & MOUSE_MASK_DRAG)

Definition at line 1233 of file tmux.h.

◆ MOUSE_MASK_BUTTONS

#define MOUSE_MASK_BUTTONS   3

Definition at line 1219 of file tmux.h.

◆ MOUSE_MASK_CTRL

#define MOUSE_MASK_CTRL   16

Definition at line 1222 of file tmux.h.

◆ MOUSE_MASK_DRAG

#define MOUSE_MASK_DRAG   32

Definition at line 1223 of file tmux.h.

◆ MOUSE_MASK_META

#define MOUSE_MASK_META   8

Definition at line 1221 of file tmux.h.

◆ MOUSE_MASK_SHIFT

#define MOUSE_MASK_SHIFT   4

Definition at line 1220 of file tmux.h.

◆ MOUSE_MASK_WHEEL

#define MOUSE_MASK_WHEEL   64

Definition at line 1224 of file tmux.h.

◆ MOUSE_RELEASE

#define MOUSE_RELEASE (   b)    (((b) & MOUSE_MASK_BUTTONS) == 3)

Definition at line 1234 of file tmux.h.

◆ MOUSE_WHEEL

#define MOUSE_WHEEL (   b)    ((b) & MOUSE_MASK_WHEEL)

Definition at line 1232 of file tmux.h.

◆ MOUSE_WHEEL_DOWN

#define MOUSE_WHEEL_DOWN   1

Definition at line 1228 of file tmux.h.

◆ MOUSE_WHEEL_UP

#define MOUSE_WHEEL_UP   0

Definition at line 1227 of file tmux.h.

◆ NAME_INTERVAL

#define NAME_INTERVAL   500000

Definition at line 87 of file tmux.h.

◆ nitems

#define nitems (   _a)    (sizeof((_a)) / sizeof((_a)[0]))

Definition at line 98 of file tmux.h.

◆ OPTIONS_TABLE_IS_ARRAY

#define OPTIONS_TABLE_IS_ARRAY   0x1

Definition at line 1826 of file tmux.h.

◆ OPTIONS_TABLE_IS_HOOK

#define OPTIONS_TABLE_IS_HOOK   0x2

Definition at line 1827 of file tmux.h.

◆ OPTIONS_TABLE_IS_STYLE

#define OPTIONS_TABLE_IS_STYLE   0x4

Definition at line 1828 of file tmux.h.

◆ OPTIONS_TABLE_NONE

#define OPTIONS_TABLE_NONE   0

Definition at line 1820 of file tmux.h.

◆ OPTIONS_TABLE_PANE

#define OPTIONS_TABLE_PANE   0x8

Definition at line 1824 of file tmux.h.

◆ OPTIONS_TABLE_SERVER

#define OPTIONS_TABLE_SERVER   0x1

Definition at line 1821 of file tmux.h.

◆ OPTIONS_TABLE_SESSION

#define OPTIONS_TABLE_SESSION   0x2

Definition at line 1822 of file tmux.h.

◆ OPTIONS_TABLE_WINDOW

#define OPTIONS_TABLE_WINDOW   0x4

Definition at line 1823 of file tmux.h.

◆ PANE_CHANGED

#define PANE_CHANGED   0x80

Definition at line 985 of file tmux.h.

◆ PANE_DROP

#define PANE_DROP   0x2

Definition at line 979 of file tmux.h.

◆ PANE_EMPTY

#define PANE_EMPTY   0x800

Definition at line 989 of file tmux.h.

◆ PANE_EXITED

#define PANE_EXITED   0x100

Definition at line 986 of file tmux.h.

◆ PANE_FOCUSED

#define PANE_FOCUSED   0x4

Definition at line 980 of file tmux.h.

◆ PANE_FOCUSPUSH

#define PANE_FOCUSPUSH   0x20

Definition at line 983 of file tmux.h.

◆ PANE_INPUTOFF

#define PANE_INPUTOFF   0x40

Definition at line 984 of file tmux.h.

◆ PANE_LINES_DOUBLE

#define PANE_LINES_DOUBLE   1

Definition at line 1126 of file tmux.h.

◆ PANE_LINES_HEAVY

#define PANE_LINES_HEAVY   2

Definition at line 1127 of file tmux.h.

◆ PANE_LINES_NUMBER

#define PANE_LINES_NUMBER   4

Definition at line 1129 of file tmux.h.

◆ PANE_LINES_SIMPLE

#define PANE_LINES_SIMPLE   3

Definition at line 1128 of file tmux.h.

◆ PANE_LINES_SINGLE

#define PANE_LINES_SINGLE   0

Definition at line 1125 of file tmux.h.

◆ PANE_MINIMUM

#define PANE_MINIMUM   1

Definition at line 80 of file tmux.h.

◆ PANE_REDRAW

#define PANE_REDRAW   0x1

Definition at line 978 of file tmux.h.

◆ PANE_STATUS_BOTTOM

#define PANE_STATUS_BOTTOM   2

Definition at line 1122 of file tmux.h.

◆ PANE_STATUS_OFF

#define PANE_STATUS_OFF   0

Definition at line 1120 of file tmux.h.

◆ PANE_STATUS_TOP

#define PANE_STATUS_TOP   1

Definition at line 1121 of file tmux.h.

◆ PANE_STATUSDRAWN

#define PANE_STATUSDRAWN   0x400

Definition at line 988 of file tmux.h.

◆ PANE_STATUSREADY

#define PANE_STATUSREADY   0x200

Definition at line 987 of file tmux.h.

◆ PANE_STYLECHANGED

#define PANE_STYLECHANGED   0x1000

Definition at line 990 of file tmux.h.

◆ POPUP_CLOSEEXIT

#define POPUP_CLOSEEXIT   0x1

Definition at line 3078 of file tmux.h.

◆ POPUP_CLOSEEXITZERO

#define POPUP_CLOSEEXITZERO   0x2

Definition at line 3079 of file tmux.h.

◆ printflike

#define printflike (   a,
 
)    __attribute__ ((format (printf, a, b)))

Definition at line 94 of file tmux.h.

◆ PROMPT_INCREMENTAL

#define PROMPT_INCREMENTAL   0x4

Definition at line 1736 of file tmux.h.

◆ PROMPT_KEY

#define PROMPT_KEY   0x10

Definition at line 1738 of file tmux.h.

◆ PROMPT_NOFORMAT

#define PROMPT_NOFORMAT   0x8

Definition at line 1737 of file tmux.h.

◆ PROMPT_NUMERIC

#define PROMPT_NUMERIC   0x2

Definition at line 1735 of file tmux.h.

◆ PROMPT_SINGLE

#define PROMPT_SINGLE   0x1

Definition at line 1734 of file tmux.h.

◆ PROMPT_TARGET

#define PROMPT_TARGET   0x40

Definition at line 1740 of file tmux.h.

◆ PROMPT_WINDOW

#define PROMPT_WINDOW   0x20

Definition at line 1739 of file tmux.h.

◆ PROTOCOL_VERSION

#define PROTOCOL_VERSION   8

Definition at line 69 of file tmux.h.

◆ screen_hlimit

#define screen_hlimit (   s)    ((s)->grid->hlimit)

Definition at line 884 of file tmux.h.

◆ screen_hsize

#define screen_hsize (   s)    ((s)->grid->hsize)

Definition at line 883 of file tmux.h.

◆ screen_size_x

#define screen_size_x (   s)    ((s)->grid->sx)

Definition at line 881 of file tmux.h.

◆ screen_size_y

#define screen_size_y (   s)    ((s)->grid->sy)

Definition at line 882 of file tmux.h.

◆ SCREEN_WRITE_SYNC

#define SCREEN_WRITE_SYNC   0x1

Definition at line 854 of file tmux.h.

◆ SESSION_ALERTED

#define SESSION_ALERTED   0x2

Definition at line 1202 of file tmux.h.

◆ SESSION_PASTING

#define SESSION_PASTING   0x1

Definition at line 1201 of file tmux.h.

◆ SPAWN_BEFORE

#define SPAWN_BEFORE   0x8

Definition at line 1891 of file tmux.h.

◆ SPAWN_DETACHED

#define SPAWN_DETACHED   0x2

Definition at line 1889 of file tmux.h.

◆ SPAWN_EMPTY

#define SPAWN_EMPTY   0x40

Definition at line 1894 of file tmux.h.

◆ SPAWN_FULLSIZE

#define SPAWN_FULLSIZE   0x20

Definition at line 1893 of file tmux.h.

◆ SPAWN_KILL

#define SPAWN_KILL   0x1

Definition at line 1888 of file tmux.h.

◆ SPAWN_NONOTIFY

#define SPAWN_NONOTIFY   0x10

Definition at line 1892 of file tmux.h.

◆ SPAWN_RESPAWN

#define SPAWN_RESPAWN   0x4

Definition at line 1890 of file tmux.h.

◆ SPAWN_ZOOM

#define SPAWN_ZOOM   0x80

Definition at line 1895 of file tmux.h.

◆ STATUS_LINES_LIMIT

#define STATUS_LINES_LIMIT   5

Definition at line 1551 of file tmux.h.

◆ TERM_256COLOURS

#define TERM_256COLOURS   0x1

Definition at line 1292 of file tmux.h.

◆ TERM_DECFRA

#define TERM_DECFRA   0x8

Definition at line 1295 of file tmux.h.

◆ TERM_DECSLRM

#define TERM_DECSLRM   0x4

Definition at line 1294 of file tmux.h.

◆ TERM_NOAM

#define TERM_NOAM   0x2

Definition at line 1293 of file tmux.h.

◆ TERM_RGBCOLOURS

#define TERM_RGBCOLOURS   0x10

Definition at line 1296 of file tmux.h.

◆ TERM_VT100LIKE

#define TERM_VT100LIKE   0x20

Definition at line 1297 of file tmux.h.

◆ TMUX_CONF

#define TMUX_CONF   "/etc/tmux.conf:~/.tmux.conf"

Definition at line 73 of file tmux.h.

◆ TMUX_SOCK

#define TMUX_SOCK   "$TMUX_TMPDIR:" _PATH_TMP

Definition at line 76 of file tmux.h.

◆ TTY_BLOCK

#define TTY_BLOCK   0x80

Definition at line 1351 of file tmux.h.

◆ TTY_FREEZE

#define TTY_FREEZE   0x2

Definition at line 1345 of file tmux.h.

◆ TTY_HAVEDA

#define TTY_HAVEDA   0x100

Definition at line 1352 of file tmux.h.

◆ TTY_HAVEXDA

#define TTY_HAVEXDA   0x200

Definition at line 1353 of file tmux.h.

◆ TTY_NOCURSOR

#define TTY_NOCURSOR   0x1

Definition at line 1344 of file tmux.h.

◆ TTY_OPENED

#define TTY_OPENED   0x20

Definition at line 1349 of file tmux.h.

◆ TTY_STARTED

#define TTY_STARTED   0x10

Definition at line 1348 of file tmux.h.

◆ TTY_SYNCING

#define TTY_SYNCING   0x400

Definition at line 1354 of file tmux.h.

◆ TTY_TIMER

#define TTY_TIMER   0x4

Definition at line 1346 of file tmux.h.

◆ UTF8_SIZE

#define UTF8_SIZE   21

Definition at line 627 of file tmux.h.

◆ VISUAL_BOTH

#define VISUAL_BOTH   2

Definition at line 110 of file tmux.h.

◆ VISUAL_OFF

#define VISUAL_OFF   0

Definition at line 108 of file tmux.h.

◆ VISUAL_ON

#define VISUAL_ON   1

Definition at line 109 of file tmux.h.

◆ WINDOW_ACTIVITY

#define WINDOW_ACTIVITY   0x2

Definition at line 1075 of file tmux.h.

◆ WINDOW_ALERTFLAGS

#define WINDOW_ALERTFLAGS   (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE)

Definition at line 1080 of file tmux.h.

◆ WINDOW_BELL

#define WINDOW_BELL   0x1

Definition at line 1074 of file tmux.h.

◆ WINDOW_MAXIMUM

#define WINDOW_MAXIMUM   10000

Definition at line 84 of file tmux.h.

◆ WINDOW_MINIMUM

#define WINDOW_MINIMUM   PANE_MINIMUM

Definition at line 83 of file tmux.h.

◆ WINDOW_RESIZE

#define WINDOW_RESIZE   0x20

Definition at line 1079 of file tmux.h.

◆ WINDOW_SILENCE

#define WINDOW_SILENCE   0x4

Definition at line 1076 of file tmux.h.

◆ WINDOW_SIZE_LARGEST

#define WINDOW_SIZE_LARGEST   0

Definition at line 1114 of file tmux.h.

◆ WINDOW_SIZE_LATEST

#define WINDOW_SIZE_LATEST   3

Definition at line 1117 of file tmux.h.

◆ WINDOW_SIZE_MANUAL

#define WINDOW_SIZE_MANUAL   2

Definition at line 1116 of file tmux.h.

◆ WINDOW_SIZE_SMALLEST

#define WINDOW_SIZE_SMALLEST   1

Definition at line 1115 of file tmux.h.

◆ WINDOW_WASZOOMED

#define WINDOW_WASZOOMED   0x10

Definition at line 1078 of file tmux.h.

◆ WINDOW_ZOOMED

#define WINDOW_ZOOMED   0x8

Definition at line 1077 of file tmux.h.

◆ WINLINK_ACTIVITY

#define WINLINK_ACTIVITY   0x2

Definition at line 1102 of file tmux.h.

◆ WINLINK_ALERTFLAGS

#define WINLINK_ALERTFLAGS   (WINLINK_BELL|WINLINK_ACTIVITY|WINLINK_SILENCE)

Definition at line 1104 of file tmux.h.

◆ WINLINK_BELL

#define WINLINK_BELL   0x1

Definition at line 1101 of file tmux.h.

◆ WINLINK_SILENCE

#define WINLINK_SILENCE   0x4

Definition at line 1103 of file tmux.h.

Typedef Documentation

◆ client_file_cb

typedef void(* client_file_cb) (struct client *, const char *, int, int, struct evbuffer *, void *)

Definition at line 1568 of file tmux.h.

◆ cmdq_cb

typedef enum cmd_retval(* cmdq_cb) (struct cmdq_item *, void *)

Definition at line 1434 of file tmux.h.

◆ format_cb

typedef void*(* format_cb) (struct format_tree *)

Definition at line 1978 of file tmux.h.

◆ job_complete_cb

typedef void(* job_complete_cb) (struct job *)

Definition at line 2097 of file tmux.h.

◆ job_free_cb

typedef void(* job_free_cb) (void *)

Definition at line 2098 of file tmux.h.

◆ job_update_cb

typedef void(* job_update_cb) (struct job *)

Definition at line 2096 of file tmux.h.

◆ key_code

typedef unsigned long long key_code

Definition at line 177 of file tmux.h.

◆ menu_choice_cb

typedef void(* menu_choice_cb) (struct menu *, u_int, key_code, void *)

Definition at line 898 of file tmux.h.

◆ mode_tree_build_cb

typedef void(* mode_tree_build_cb) (void *, struct mode_tree_sort_criteria *, uint64_t *, const char *)

Definition at line 2880 of file tmux.h.

◆ mode_tree_draw_cb

typedef void(* mode_tree_draw_cb) (void *, void *, struct screen_write_ctx *, u_int, u_int)

Definition at line 2882 of file tmux.h.

◆ mode_tree_each_cb

typedef void(* mode_tree_each_cb) (void *, void *, struct client *, key_code)

Definition at line 2888 of file tmux.h.

◆ mode_tree_height_cb

typedef u_int(* mode_tree_height_cb) (void *, u_int)

Definition at line 2886 of file tmux.h.

◆ mode_tree_key_cb

typedef key_code(* mode_tree_key_cb) (void *, void *, u_int)

Definition at line 2887 of file tmux.h.

◆ mode_tree_menu_cb

typedef void(* mode_tree_menu_cb) (void *, struct client *, key_code)

Definition at line 2885 of file tmux.h.

◆ mode_tree_search_cb

typedef int(* mode_tree_search_cb) (void *, void *, const char *)

Definition at line 2884 of file tmux.h.

◆ overlay_check_cb

typedef int(* overlay_check_cb) (struct client *, u_int, u_int)

Definition at line 1603 of file tmux.h.

◆ overlay_draw_cb

typedef void(* overlay_draw_cb) (struct client *, struct screen_redraw_ctx *)

Definition at line 1605 of file tmux.h.

◆ overlay_free_cb

typedef void(* overlay_free_cb) (struct client *)

Definition at line 1607 of file tmux.h.

◆ overlay_key_cb

typedef int(* overlay_key_cb) (struct client *, struct key_event *)

Definition at line 1606 of file tmux.h.

◆ overlay_mode_cb

typedef struct screen*(* overlay_mode_cb) (struct client *, u_int *, u_int *)

Definition at line 1603 of file tmux.h.

◆ popup_close_cb

typedef void(* popup_close_cb) (int, void *)

Definition at line 3080 of file tmux.h.

◆ popup_finish_edit_cb

typedef void(* popup_finish_edit_cb) (char *, size_t, void *)

Definition at line 3081 of file tmux.h.

◆ prompt_free_cb

typedef void(* prompt_free_cb) (void *)

Definition at line 1602 of file tmux.h.

◆ prompt_input_cb

typedef int(* prompt_input_cb) (struct client *, void *, const char *, int)

Definition at line 1601 of file tmux.h.

◆ screen_write_init_ctx_cb

typedef void(* screen_write_init_ctx_cb) (struct screen_write_ctx *, struct tty_ctx *)

Definition at line 847 of file tmux.h.

◆ tty_ctx_redraw_cb

typedef void(* tty_ctx_redraw_cb) (const struct tty_ctx *)

Definition at line 1373 of file tmux.h.

◆ tty_ctx_set_client_cb

typedef int(* tty_ctx_set_client_cb) (struct tty_ctx *, struct client *)

Definition at line 1374 of file tmux.h.

◆ utf8_char

typedef u_int utf8_char

Definition at line 620 of file tmux.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
KEYC_FOCUS_IN 
KEYC_FOCUS_OUT 
KEYC_ANY 
KEYC_PASTE_START 
KEYC_PASTE_END 
KEYC_MOUSE 
KEYC_DRAGGING 
KEYC_DOUBLECLICK 
KEYC_MOUSEMOVE_PANE 
KEYC_MOUSEMOVE_STATUS 
KEYC_MOUSEMOVE_STATUS_LEFT 
KEYC_MOUSEMOVE_STATUS_RIGHT 
KEYC_MOUSEMOVE_STATUS_DEFAULT 
KEYC_MOUSEMOVE_BORDER 
KEYC_MOUSEDOWN1_PANE 
KEYC_MOUSEDOWN1_STATUS 
KEYC_MOUSEDOWN1_STATUS_LEFT 
KEYC_MOUSEDOWN1_STATUS_RIGHT 
KEYC_MOUSEDOWN1_STATUS_DEFAULT 
KEYC_MOUSEDOWN1_BORDER 
KEYC_MOUSEDOWN2_PANE 
KEYC_MOUSEDOWN2_STATUS 
KEYC_MOUSEDOWN2_STATUS_LEFT 
KEYC_MOUSEDOWN2_STATUS_RIGHT 
KEYC_MOUSEDOWN2_STATUS_DEFAULT 
KEYC_MOUSEDOWN2_BORDER 
KEYC_MOUSEDOWN3_PANE 
KEYC_MOUSEDOWN3_STATUS 
KEYC_MOUSEDOWN3_STATUS_LEFT 
KEYC_MOUSEDOWN3_STATUS_RIGHT 
KEYC_MOUSEDOWN3_STATUS_DEFAULT 
KEYC_MOUSEDOWN3_BORDER 
KEYC_MOUSEUP1_PANE 
KEYC_MOUSEUP1_STATUS 
KEYC_MOUSEUP1_STATUS_LEFT 
KEYC_MOUSEUP1_STATUS_RIGHT 
KEYC_MOUSEUP1_STATUS_DEFAULT 
KEYC_MOUSEUP1_BORDER 
KEYC_MOUSEUP2_PANE 
KEYC_MOUSEUP2_STATUS 
KEYC_MOUSEUP2_STATUS_LEFT 
KEYC_MOUSEUP2_STATUS_RIGHT 
KEYC_MOUSEUP2_STATUS_DEFAULT 
KEYC_MOUSEUP2_BORDER 
KEYC_MOUSEUP3_PANE 
KEYC_MOUSEUP3_STATUS 
KEYC_MOUSEUP3_STATUS_LEFT 
KEYC_MOUSEUP3_STATUS_RIGHT 
KEYC_MOUSEUP3_STATUS_DEFAULT 
KEYC_MOUSEUP3_BORDER 
KEYC_MOUSEDRAG1_PANE 
KEYC_MOUSEDRAG1_STATUS 
KEYC_MOUSEDRAG1_STATUS_LEFT 
KEYC_MOUSEDRAG1_STATUS_RIGHT 
KEYC_MOUSEDRAG1_STATUS_DEFAULT 
KEYC_MOUSEDRAG1_BORDER 
KEYC_MOUSEDRAG2_PANE 
KEYC_MOUSEDRAG2_STATUS 
KEYC_MOUSEDRAG2_STATUS_LEFT 
KEYC_MOUSEDRAG2_STATUS_RIGHT 
KEYC_MOUSEDRAG2_STATUS_DEFAULT 
KEYC_MOUSEDRAG2_BORDER 
KEYC_MOUSEDRAG3_PANE 
KEYC_MOUSEDRAG3_STATUS 
KEYC_MOUSEDRAG3_STATUS_LEFT 
KEYC_MOUSEDRAG3_STATUS_RIGHT 
KEYC_MOUSEDRAG3_STATUS_DEFAULT 
KEYC_MOUSEDRAG3_BORDER 
KEYC_MOUSEDRAGEND1_PANE 
KEYC_MOUSEDRAGEND1_STATUS 
KEYC_MOUSEDRAGEND1_STATUS_LEFT 
KEYC_MOUSEDRAGEND1_STATUS_RIGHT 
KEYC_MOUSEDRAGEND1_STATUS_DEFAULT 
KEYC_MOUSEDRAGEND1_BORDER 
KEYC_MOUSEDRAGEND2_PANE 
KEYC_MOUSEDRAGEND2_STATUS 
KEYC_MOUSEDRAGEND2_STATUS_LEFT 
KEYC_MOUSEDRAGEND2_STATUS_RIGHT 
KEYC_MOUSEDRAGEND2_STATUS_DEFAULT 
KEYC_MOUSEDRAGEND2_BORDER 
KEYC_MOUSEDRAGEND3_PANE 
KEYC_MOUSEDRAGEND3_STATUS 
KEYC_MOUSEDRAGEND3_STATUS_LEFT 
KEYC_MOUSEDRAGEND3_STATUS_RIGHT 
KEYC_MOUSEDRAGEND3_STATUS_DEFAULT 
KEYC_MOUSEDRAGEND3_BORDER 
KEYC_WHEELUP_PANE 
KEYC_WHEELUP_STATUS 
KEYC_WHEELUP_STATUS_LEFT 
KEYC_WHEELUP_STATUS_RIGHT 
KEYC_WHEELUP_STATUS_DEFAULT 
KEYC_WHEELUP_BORDER 
KEYC_WHEELDOWN_PANE 
KEYC_WHEELDOWN_STATUS 
KEYC_WHEELDOWN_STATUS_LEFT 
KEYC_WHEELDOWN_STATUS_RIGHT 
KEYC_WHEELDOWN_STATUS_DEFAULT 
KEYC_WHEELDOWN_BORDER 
KEYC_SECONDCLICK1_PANE 
KEYC_SECONDCLICK1_STATUS 
KEYC_SECONDCLICK1_STATUS_LEFT 
KEYC_SECONDCLICK1_STATUS_RIGHT 
KEYC_SECONDCLICK1_STATUS_DEFAULT 
KEYC_SECONDCLICK1_BORDER 
KEYC_SECONDCLICK2_PANE 
KEYC_SECONDCLICK2_STATUS 
KEYC_SECONDCLICK2_STATUS_LEFT 
KEYC_SECONDCLICK2_STATUS_RIGHT 
KEYC_SECONDCLICK2_STATUS_DEFAULT 
KEYC_SECONDCLICK2_BORDER 
KEYC_SECONDCLICK3_PANE 
KEYC_SECONDCLICK3_STATUS 
KEYC_SECONDCLICK3_STATUS_LEFT 
KEYC_SECONDCLICK3_STATUS_RIGHT 
KEYC_SECONDCLICK3_STATUS_DEFAULT 
KEYC_SECONDCLICK3_BORDER 
KEYC_DOUBLECLICK1_PANE 
KEYC_DOUBLECLICK1_STATUS 
KEYC_DOUBLECLICK1_STATUS_LEFT 
KEYC_DOUBLECLICK1_STATUS_RIGHT 
KEYC_DOUBLECLICK1_STATUS_DEFAULT 
KEYC_DOUBLECLICK1_BORDER 
KEYC_DOUBLECLICK2_PANE 
KEYC_DOUBLECLICK2_STATUS 
KEYC_DOUBLECLICK2_STATUS_LEFT 
KEYC_DOUBLECLICK2_STATUS_RIGHT 
KEYC_DOUBLECLICK2_STATUS_DEFAULT 
KEYC_DOUBLECLICK2_BORDER 
KEYC_DOUBLECLICK3_PANE 
KEYC_DOUBLECLICK3_STATUS 
KEYC_DOUBLECLICK3_STATUS_LEFT 
KEYC_DOUBLECLICK3_STATUS_RIGHT 
KEYC_DOUBLECLICK3_STATUS_DEFAULT 
KEYC_DOUBLECLICK3_BORDER 
KEYC_TRIPLECLICK1_PANE 
KEYC_TRIPLECLICK1_STATUS 
KEYC_TRIPLECLICK1_STATUS_LEFT 
KEYC_TRIPLECLICK1_STATUS_RIGHT 
KEYC_TRIPLECLICK1_STATUS_DEFAULT 
KEYC_TRIPLECLICK1_BORDER 
KEYC_TRIPLECLICK2_PANE 
KEYC_TRIPLECLICK2_STATUS 
KEYC_TRIPLECLICK2_STATUS_LEFT 
KEYC_TRIPLECLICK2_STATUS_RIGHT 
KEYC_TRIPLECLICK2_STATUS_DEFAULT 
KEYC_TRIPLECLICK2_BORDER 
KEYC_TRIPLECLICK3_PANE 
KEYC_TRIPLECLICK3_STATUS 
KEYC_TRIPLECLICK3_STATUS_LEFT 
KEYC_TRIPLECLICK3_STATUS_RIGHT 
KEYC_TRIPLECLICK3_STATUS_DEFAULT 
KEYC_TRIPLECLICK3_BORDER 
KEYC_BSPACE 
KEYC_F1 
KEYC_F2 
KEYC_F3 
KEYC_F4 
KEYC_F5 
KEYC_F6 
KEYC_F7 
KEYC_F8 
KEYC_F9 
KEYC_F10 
KEYC_F11 
KEYC_F12 
KEYC_IC 
KEYC_DC 
KEYC_HOME 
KEYC_END 
KEYC_NPAGE 
KEYC_PPAGE 
KEYC_BTAB 
KEYC_UP 
KEYC_DOWN 
KEYC_LEFT 
KEYC_RIGHT 
KEYC_KP_SLASH 
KEYC_KP_STAR 
KEYC_KP_MINUS 
KEYC_KP_SEVEN 
KEYC_KP_EIGHT 
KEYC_KP_NINE 
KEYC_KP_PLUS 
KEYC_KP_FOUR 
KEYC_KP_FIVE 
KEYC_KP_SIX 
KEYC_KP_ONE 
KEYC_KP_TWO 
KEYC_KP_THREE 
KEYC_KP_ENTER 
KEYC_KP_ZERO 
KEYC_KP_PERIOD 
KEYC_BASE_END 

Definition at line 180 of file tmux.h.

◆ cmd_find_type

Enumerator
CMD_FIND_PANE 
CMD_FIND_WINDOW 
CMD_FIND_SESSION 

Definition at line 1442 of file tmux.h.

◆ cmd_parse_status

Enumerator
CMD_PARSE_EMPTY 
CMD_PARSE_ERROR 
CMD_PARSE_SUCCESS 

Definition at line 1483 of file tmux.h.

◆ cmd_retval

enum cmd_retval
Enumerator
CMD_RETURN_ERROR 
CMD_RETURN_NORMAL 
CMD_RETURN_WAIT 
CMD_RETURN_STOP 

Definition at line 1475 of file tmux.h.

◆ control_sub_type

Enumerator
CONTROL_SUB_SESSION 
CONTROL_SUB_PANE 
CONTROL_SUB_ALL_PANES 
CONTROL_SUB_WINDOW 
CONTROL_SUB_ALL_WINDOWS 

Definition at line 1767 of file tmux.h.

◆ layout_type

Enumerator
LAYOUT_LEFTRIGHT 
LAYOUT_TOPBOTTOM 
LAYOUT_WINDOWPANE 

Definition at line 1132 of file tmux.h.

◆ msgtype

enum msgtype
Enumerator
MSG_VERSION 
MSG_IDENTIFY_FLAGS 
MSG_IDENTIFY_TERM 
MSG_IDENTIFY_TTYNAME 
MSG_IDENTIFY_OLDCWD 
MSG_IDENTIFY_STDIN 
MSG_IDENTIFY_ENVIRON 
MSG_IDENTIFY_DONE 
MSG_IDENTIFY_CLIENTPID 
MSG_IDENTIFY_CWD 
MSG_IDENTIFY_FEATURES 
MSG_IDENTIFY_STDOUT 
MSG_IDENTIFY_LONGFLAGS 
MSG_IDENTIFY_TERMINFO 
MSG_COMMAND 
MSG_DETACH 
MSG_DETACHKILL 
MSG_EXIT 
MSG_EXITED 
MSG_EXITING 
MSG_LOCK 
MSG_READY 
MSG_RESIZE 
MSG_SHELL 
MSG_SHUTDOWN 
MSG_OLDSTDERR 
MSG_OLDSTDIN 
MSG_OLDSTDOUT 
MSG_SUSPEND 
MSG_UNLOCK 
MSG_WAKEUP 
MSG_EXEC 
MSG_FLAGS 
MSG_READ_OPEN 
MSG_READ 
MSG_READ_DONE 
MSG_WRITE_OPEN 
MSG_WRITE 
MSG_WRITE_READY 
MSG_WRITE_CLOSE 

Definition at line 505 of file tmux.h.

◆ options_table_type

Enumerator
OPTIONS_TABLE_STRING 
OPTIONS_TABLE_NUMBER 
OPTIONS_TABLE_KEY 
OPTIONS_TABLE_COLOUR 
OPTIONS_TABLE_FLAG 
OPTIONS_TABLE_CHOICE 
OPTIONS_TABLE_COMMAND 

Definition at line 1810 of file tmux.h.

◆ style_align

Enumerator
STYLE_ALIGN_DEFAULT 
STYLE_ALIGN_LEFT 
STYLE_ALIGN_CENTRE 
STYLE_ALIGN_RIGHT 
STYLE_ALIGN_ABSOLUTE_CENTRE 

Definition at line 756 of file tmux.h.

◆ style_default_type

Enumerator
STYLE_DEFAULT_BASE 
STYLE_DEFAULT_PUSH 
STYLE_DEFAULT_POP 

Definition at line 792 of file tmux.h.

◆ style_list

enum style_list
Enumerator
STYLE_LIST_OFF 
STYLE_LIST_ON 
STYLE_LIST_FOCUS 
STYLE_LIST_LEFT_MARKER 
STYLE_LIST_RIGHT_MARKER 

Definition at line 765 of file tmux.h.

◆ style_range_type

Enumerator
STYLE_RANGE_NONE 
STYLE_RANGE_LEFT 
STYLE_RANGE_RIGHT 
STYLE_RANGE_WINDOW 

Definition at line 774 of file tmux.h.

◆ tty_code_code

Enumerator
TTYC_ACSC 
TTYC_AM 
TTYC_AX 
TTYC_BCE 
TTYC_BEL 
TTYC_BIDI 
TTYC_BLINK 
TTYC_BOLD 
TTYC_CIVIS 
TTYC_CLEAR 
TTYC_CLMG 
TTYC_CMG 
TTYC_CNORM 
TTYC_COLORS 
TTYC_CR 
TTYC_CS 
TTYC_CSR 
TTYC_CUB 
TTYC_CUB1 
TTYC_CUD 
TTYC_CUD1 
TTYC_CUF 
TTYC_CUF1 
TTYC_CUP 
TTYC_CUU 
TTYC_CUU1 
TTYC_CVVIS 
TTYC_DCH 
TTYC_DCH1 
TTYC_DIM 
TTYC_DL 
TTYC_DL1 
TTYC_DSBP 
TTYC_DSEKS 
TTYC_DSFCS 
TTYC_DSMG 
TTYC_E3 
TTYC_ECH 
TTYC_ED 
TTYC_EL 
TTYC_EL1 
TTYC_ENACS 
TTYC_ENBP 
TTYC_ENEKS 
TTYC_ENFCS 
TTYC_ENMG 
TTYC_FSL 
TTYC_HOME 
TTYC_HPA 
TTYC_ICH 
TTYC_ICH1 
TTYC_IL 
TTYC_IL1 
TTYC_INDN 
TTYC_INVIS 
TTYC_KCBT 
TTYC_KCUB1 
TTYC_KCUD1 
TTYC_KCUF1 
TTYC_KCUU1 
TTYC_KDC2 
TTYC_KDC3 
TTYC_KDC4 
TTYC_KDC5 
TTYC_KDC6 
TTYC_KDC7 
TTYC_KDCH1 
TTYC_KDN2 
TTYC_KDN3 
TTYC_KDN4 
TTYC_KDN5 
TTYC_KDN6 
TTYC_KDN7 
TTYC_KEND 
TTYC_KEND2 
TTYC_KEND3 
TTYC_KEND4 
TTYC_KEND5 
TTYC_KEND6 
TTYC_KEND7 
TTYC_KF1 
TTYC_KF10 
TTYC_KF11 
TTYC_KF12 
TTYC_KF13 
TTYC_KF14 
TTYC_KF15 
TTYC_KF16 
TTYC_KF17 
TTYC_KF18 
TTYC_KF19 
TTYC_KF2 
TTYC_KF20 
TTYC_KF21 
TTYC_KF22 
TTYC_KF23 
TTYC_KF24 
TTYC_KF25 
TTYC_KF26 
TTYC_KF27 
TTYC_KF28 
TTYC_KF29 
TTYC_KF3 
TTYC_KF30 
TTYC_KF31 
TTYC_KF32 
TTYC_KF33 
TTYC_KF34 
TTYC_KF35 
TTYC_KF36 
TTYC_KF37 
TTYC_KF38 
TTYC_KF39 
TTYC_KF4 
TTYC_KF40 
TTYC_KF41 
TTYC_KF42 
TTYC_KF43 
TTYC_KF44 
TTYC_KF45 
TTYC_KF46 
TTYC_KF47 
TTYC_KF48 
TTYC_KF49 
TTYC_KF5 
TTYC_KF50 
TTYC_KF51 
TTYC_KF52 
TTYC_KF53 
TTYC_KF54 
TTYC_KF55 
TTYC_KF56 
TTYC_KF57 
TTYC_KF58 
TTYC_KF59 
TTYC_KF6 
TTYC_KF60 
TTYC_KF61 
TTYC_KF62 
TTYC_KF63 
TTYC_KF7 
TTYC_KF8 
TTYC_KF9 
TTYC_KHOM2 
TTYC_KHOM3 
TTYC_KHOM4 
TTYC_KHOM5 
TTYC_KHOM6 
TTYC_KHOM7 
TTYC_KHOME 
TTYC_KIC2 
TTYC_KIC3 
TTYC_KIC4 
TTYC_KIC5 
TTYC_KIC6 
TTYC_KIC7 
TTYC_KICH1 
TTYC_KIND 
TTYC_KLFT2 
TTYC_KLFT3 
TTYC_KLFT4 
TTYC_KLFT5 
TTYC_KLFT6 
TTYC_KLFT7 
TTYC_KMOUS 
TTYC_KNP 
TTYC_KNXT2 
TTYC_KNXT3 
TTYC_KNXT4 
TTYC_KNXT5 
TTYC_KNXT6 
TTYC_KNXT7 
TTYC_KPP 
TTYC_KPRV2 
TTYC_KPRV3 
TTYC_KPRV4 
TTYC_KPRV5 
TTYC_KPRV6 
TTYC_KPRV7 
TTYC_KRI 
TTYC_KRIT2 
TTYC_KRIT3 
TTYC_KRIT4 
TTYC_KRIT5 
TTYC_KRIT6 
TTYC_KRIT7 
TTYC_KUP2 
TTYC_KUP3 
TTYC_KUP4 
TTYC_KUP5 
TTYC_KUP6 
TTYC_KUP7 
TTYC_MS 
TTYC_OL 
TTYC_OP 
TTYC_RECT 
TTYC_REV 
TTYC_RGB 
TTYC_RI 
TTYC_RIN 
TTYC_RMACS 
TTYC_RMCUP 
TTYC_RMKX 
TTYC_SE 
TTYC_SETAB 
TTYC_SETAF 
TTYC_SETAL 
TTYC_SETRGBB 
TTYC_SETRGBF 
TTYC_SETULC 
TTYC_SGR0 
TTYC_SITM 
TTYC_SMACS 
TTYC_SMCUP 
TTYC_SMKX 
TTYC_SMOL 
TTYC_SMSO 
TTYC_SMUL 
TTYC_SMULX 
TTYC_SMXX 
TTYC_SS 
TTYC_SYNC 
TTYC_TC 
TTYC_TSL 
TTYC_U8 
TTYC_VPA 
TTYC_XT 

Definition at line 274 of file tmux.h.

◆ utf8_state

enum utf8_state
Enumerator
UTF8_MORE 
UTF8_DONE 
UTF8_ERROR 

Definition at line 636 of file tmux.h.

Function Documentation

◆ alerts_check_session()

void alerts_check_session ( struct session s)

Definition at line 103 of file alerts.c.

References alerts_check_all(), winlink::window, and session::windows.

Referenced by server_destroy_session().

◆ alerts_queue()

void alerts_queue ( struct window w,
int  flags 
)

◆ alerts_reset_all()

void alerts_reset_all ( void  )

Definition at line 130 of file alerts.c.

References alerts_reset(), and windows.

Referenced by options_push_changes().

◆ args_escape()

char* args_escape ( const char *  s)

◆ args_first()

u_char args_first ( struct args args,
struct args_entry **  entry 
)

Definition at line 308 of file arguments.c.

References args::tree.

Referenced by cmdq_insert_hook().

◆ args_first_value()

const char* args_first_value ( struct args args,
u_char  flag,
struct args_value **  value 
)

Definition at line 328 of file arguments.c.

References args_find(), args_entry::flag, and args_entry::values.

Referenced by cmdq_insert_hook().

◆ args_free()

void args_free ( struct args args)

◆ args_get()

◆ args_has()

◆ args_next()

u_char args_next ( struct args_entry **  entry)

Definition at line 318 of file arguments.c.

References args::tree.

Referenced by cmdq_insert_hook().

◆ args_next_value()

const char* args_next_value ( struct args_value **  value)

Definition at line 343 of file arguments.c.

Referenced by cmdq_insert_hook().

◆ args_parse()

struct args* args_parse ( const char *  template,
int  argc,
char **  argv 
)

Definition at line 68 of file arguments.c.

References args::argc, args_free(), args_set(), args::argv, cmd_copy_argv(), getopt, optarg, optind, optreset, and xcalloc().

Referenced by cmd_parse().

◆ args_percentage()

long long args_percentage ( struct args args,
u_char  flag,
long long  minval,
long long  maxval,
long long  curval,
char **  cause 
)

◆ args_print()

◆ args_set()

void args_set ( struct args args,
u_char  flag,
const char *  s 
)

◆ args_string_percentage()

long long args_string_percentage ( const char *  value,
long long  minval,
long long  maxval,
long long  curval,
char **  cause 
)

Definition at line 397 of file arguments.c.

References strtonum(), and xstrdup().

Referenced by args_percentage(), layout_set_main_h(), and layout_set_main_v().

◆ args_strtonum()

long long args_strtonum ( struct args args,
u_char  flag,
long long  minval,
long long  maxval,
char **  cause 
)

Definition at line 355 of file arguments.c.

References args_find(), strtonum(), args_value::value, args_entry::values, and xstrdup().

Referenced by cmd_capture_pane_exec().

◆ attributes_fromstring()

◆ attributes_tostring()

◆ cfg_add_cause()

void cfg_add_cause ( const char *  fmt,
  ... 
)

Definition at line 213 of file cfg.c.

References cfg_causes, cfg_ncauses, xreallocarray(), and xvasprintf().

Referenced by cmdq_error(), load_cfg(), and load_cfg_from_buffer().

◆ cfg_print_causes()

void cfg_print_causes ( struct cmdq_item item)

Definition at line 228 of file cfg.c.

References cfg_causes, cfg_ncauses, and cmdq_print().

◆ cfg_show_causes()

◆ check_window_name()

◆ checkshell()

int checkshell ( const char *  shell)

◆ client_main()

◆ cmd_append_argv()

void cmd_append_argv ( int *  argc,
char ***  argv,
char *  arg 
)

Definition at line 267 of file cmd.c.

References args::argc, args::argv, xreallocarray(), and xstrdup().

Referenced by cmd_parse_build_commands().

◆ cmd_attach_session()

enum cmd_retval cmd_attach_session ( struct cmdq_item item,
const char *  tflag,
int  dflag,
int  xflag,
int  rflag,
const char *  cflag,
int  Eflag,
const char *  fflag 
)

Definition at line 1 of file cmd-attach-session.c.

◆ cmd_copy_argv()

char** cmd_copy_argv ( int  argc,
char **  argv 
)

Definition at line 327 of file cmd.c.

References args::argc, args::argv, xcalloc(), and xstrdup().

Referenced by args_parse(), cmd_parse(), cmd_parse_from_arguments(), and spawn_pane().

◆ cmd_find_best_client()

struct client* cmd_find_best_client ( struct session s)

Definition at line 113 of file cmd-find.c.

References session::attached, clients, cmd_find_client_better(), and client::session.

Referenced by cmd_find_current_client().

◆ cmd_find_clear_state()

◆ cmd_find_client()

struct client* cmd_find_client ( struct cmdq_item item,
const char *  target,
int  quiet 
)

◆ cmd_find_copy_state()

◆ cmd_find_empty_state()

int cmd_find_empty_state ( struct cmd_find_state fs)

Definition at line 655 of file cmd-find.c.

References cmd_find_state::s, cmd_find_state::w, cmd_find_state::wl, and cmd_find_state::wp.

Referenced by notify_callback().

◆ cmd_find_from_client()

◆ cmd_find_from_mouse()

◆ cmd_find_from_nothing()

◆ cmd_find_from_pane()

int cmd_find_from_pane ( struct cmd_find_state fs,
struct window_pane wp,
int  flags 
)

◆ cmd_find_from_session()

void cmd_find_from_session ( struct cmd_find_state fs,
struct session s,
int  flags 
)

◆ cmd_find_from_session_window()

int cmd_find_from_session_window ( struct cmd_find_state fs,
struct session s,
struct window w,
int  flags 
)

◆ cmd_find_from_window()

◆ cmd_find_from_winlink()

void cmd_find_from_winlink ( struct cmd_find_state fs,
struct winlink wl,
int  flags 
)

◆ cmd_find_from_winlink_pane()

void cmd_find_from_winlink_pane ( struct cmd_find_state fs,
struct winlink wl,
struct window_pane wp,
int  flags 
)

◆ cmd_find_target()

◆ cmd_find_valid_state()

◆ cmd_free()

void cmd_free ( struct cmd cmd)

Definition at line 547 of file cmd.c.

References cmd::alias, cmd::argc, cmd::args, args_free(), cmd::argv, cmd_free_argv(), and cmd::file.

Referenced by cmd_list_free().

◆ cmd_free_argv()

void cmd_free_argv ( int  argc,
char **  argv 
)

◆ cmd_get_alias()

char* cmd_get_alias ( const char *  name)

◆ cmd_get_args()

struct args* cmd_get_args ( struct cmd cmd)

◆ cmd_get_entry()

const struct cmd_entry* cmd_get_entry ( struct cmd cmd)

Definition at line 386 of file cmd.c.

References cmd::entry.

Referenced by cmdq_find_flag(), and cmdq_merge_formats().

◆ cmd_get_group()

u_int cmd_get_group ( struct cmd cmd)

Definition at line 400 of file cmd.c.

References cmd::group.

Referenced by cmdq_find_flag().

◆ cmd_get_source()

void cmd_get_source ( struct cmd cmd,
const char **  file,
u_int *  line 
)

Definition at line 407 of file cmd.c.

References cmd::file, and cmd::line.

Referenced by cmdq_error().

◆ cmd_list_all_have()

int cmd_list_all_have ( struct cmd_list cmdlist,
int  flag 
)

Definition at line 677 of file cmd.c.

References cmd::entry, cmd_entry::flags, and cmd_list::list.

Referenced by key_bindings_dispatch().

◆ cmd_list_any_have()

int cmd_list_any_have ( struct cmd_list cmdlist,
int  flag 
)

Definition at line 690 of file cmd.c.

References cmd::entry, cmd_entry::flags, and cmd_list::list.

Referenced by client_main().

◆ cmd_list_append()

void cmd_list_append ( struct cmd_list cmdlist,
struct cmd cmd 
)

Definition at line 590 of file cmd.c.

References cmd::group, cmd_list::group, and cmd_list::list.

Referenced by cmd_parse_build_commands().

◆ cmd_list_first()

struct cmd* cmd_list_first ( struct cmd_list cmdlist)

Definition at line 663 of file cmd.c.

References cmd_list::list.

Referenced by cmdq_find_flag().

◆ cmd_list_free()

◆ cmd_list_move()

void cmd_list_move ( struct cmd_list cmdlist,
struct cmd_list from 
)

Definition at line 598 of file cmd.c.

References cmd_list_next_group, cmd_list::group, and cmd_list::list.

Referenced by cmd_parse_build_commands().

◆ cmd_list_new()

struct cmd_list* cmd_list_new ( void  )

◆ cmd_list_next()

struct cmd* cmd_list_next ( struct cmd cmd)

Definition at line 670 of file cmd.c.

Referenced by cmdq_find_flag().

◆ cmd_list_print()

◆ cmd_log_argv()

void cmd_log_argv ( int  argc,
char **  argv,
const char *  fmt,
  ... 
)

◆ cmd_mouse_at()

◆ cmd_mouse_pane()

◆ cmd_mouse_window()

◆ cmd_pack_argv()

int cmd_pack_argv ( int  argc,
char **  argv,
char *  buf,
size_t  len 
)

Definition at line 275 of file cmd.c.

References args::argc, args::argv, cmd_log_argv(), and strlcpy().

Referenced by client_main().

◆ cmd_parse()

struct cmd* cmd_parse ( int  argc,
char **  argv,
const char *  file,
u_int  line,
char **  cause 
)

◆ cmd_parse_and_append()

enum cmd_parse_status cmd_parse_and_append ( const char *  s,
struct cmd_parse_input pi,
struct client c,
struct cmdq_state state,
char **  error 
)