version 1.253, 2018/07/17 18:02:40 |
version 1.254, 2018/08/02 11:44:07 |
|
|
static void server_client_set_title(struct client *); |
static void server_client_set_title(struct client *); |
static void server_client_reset_state(struct client *); |
static void server_client_reset_state(struct client *); |
static int server_client_assume_paste(struct session *); |
static int server_client_assume_paste(struct session *); |
|
static void server_client_clear_identify(struct client *, |
|
struct window_pane *); |
|
|
static void server_client_dispatch(struct imsg *, void *); |
static void server_client_dispatch(struct imsg *, void *); |
static void server_client_dispatch_command(struct client *, struct imsg *); |
static void server_client_dispatch_command(struct client *, struct imsg *); |
|
|
} |
} |
|
|
/* Clear identify mode on client. */ |
/* Clear identify mode on client. */ |
void |
static void |
server_client_clear_identify(struct client *c, struct window_pane *wp) |
server_client_clear_identify(struct client *c, struct window_pane *wp) |
{ |
{ |
if (~c->flags & CLIENT_IDENTIFY) |
if (~c->flags & CLIENT_IDENTIFY) |
|
|
struct window_pane *wp; |
struct window_pane *wp; |
struct timeval tv; |
struct timeval tv; |
struct key_table *table, *first; |
struct key_table *table, *first; |
struct key_binding bd_find, *bd; |
struct key_binding *bd; |
int xtimeout, flags; |
int xtimeout, flags; |
struct cmd_find_state fs; |
struct cmd_find_state fs; |
key_code key0; |
key_code key0; |
|
|
|
|
try_again: |
try_again: |
/* Try to see if there is a key binding in the current table. */ |
/* Try to see if there is a key binding in the current table. */ |
bd_find.key = key0; |
bd = key_bindings_get(table, key0); |
bd = RB_FIND(key_bindings, &table->key_bindings, &bd_find); |
|
if (bd != NULL) { |
if (bd != NULL) { |
/* |
/* |
* Key was matched in this table. If currently repeating but a |
* Key was matched in this table. If currently repeating but a |