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)  

key-string.c File Reference
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
#include "tmux.h"
Include dependency graph for key-string.c:

Go to the source code of this file.

Functions

static key_code key_string_search_table (const char *)
 
static key_code key_string_get_modifiers (const char **)
 
key_code key_string_lookup_string (const char *string)
 
const char * key_string_lookup_key (key_code key, int with_flags)
 

Variables

struct {
   const char *   string
 
   key_code   key
 
key_string_table []
 

Function Documentation

◆ key_string_get_modifiers()

static key_code key_string_get_modifiers ( const char **  string)
static

Definition at line 135 of file key-string.c.

References KEYC_CTRL, KEYC_META, and KEYC_SHIFT.

Referenced by key_string_lookup_string().

◆ key_string_lookup_key()

◆ key_string_lookup_string()

◆ key_string_search_table()

static key_code key_string_search_table ( const char *  string)
static

Definition at line 118 of file key-string.c.

References key, key_string_table, KEYC_NUSER, KEYC_UNKNOWN, KEYC_USER, and nitems.

Referenced by key_string_lookup_string().

Variable Documentation

◆ key

◆ 

key_string_table[] { ... } const struct

◆ string

const char* string

Definition at line 31 of file key-string.c.

Referenced by options_array_assign().