mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
Last few tables that should be const.
This commit is contained in:
12
input-keys.c
12
input-keys.c
@ -40,7 +40,7 @@ struct input_key_ent {
|
||||
#define INPUTKEY_CURSOR 0x2 /* cursor key */
|
||||
};
|
||||
|
||||
struct input_key_ent input_keys[] = {
|
||||
const struct input_key_ent input_keys[] = {
|
||||
/* Backspace key. */
|
||||
{ KEYC_BSPACE, "\177", 0 },
|
||||
|
||||
@ -137,11 +137,11 @@ struct input_key_ent input_keys[] = {
|
||||
void
|
||||
input_key(struct window_pane *wp, int key)
|
||||
{
|
||||
struct input_key_ent *ike;
|
||||
u_int i;
|
||||
size_t dlen;
|
||||
char *out;
|
||||
u_char ch;
|
||||
const struct input_key_ent *ike;
|
||||
u_int i;
|
||||
size_t dlen;
|
||||
char *out;
|
||||
u_char ch;
|
||||
|
||||
log_debug2("writing key 0x%x", key);
|
||||
|
||||
|
Reference in New Issue
Block a user