mirror of
https://github.com/tmux/tmux.git
synced 2024-11-04 18:08:48 +00:00
Key table should be const.
This commit is contained in:
parent
b6950ed8aa
commit
1c86713afd
@ -54,7 +54,7 @@ struct tty_key_ent {
|
|||||||
* Default key tables. Those flagged with TTYKEY_RAW are inserted directly,
|
* Default key tables. Those flagged with TTYKEY_RAW are inserted directly,
|
||||||
* otherwise they are looked up in terminfo(5).
|
* otherwise they are looked up in terminfo(5).
|
||||||
*/
|
*/
|
||||||
struct tty_key_ent tty_keys[] = {
|
const struct tty_key_ent tty_keys[] = {
|
||||||
/*
|
/*
|
||||||
* Numeric keypad. Just use the vt100 escape sequences here and always
|
* Numeric keypad. Just use the vt100 escape sequences here and always
|
||||||
* put the terminal into keypad_xmit mode. Translation of numbers
|
* put the terminal into keypad_xmit mode. Translation of numbers
|
||||||
@ -343,7 +343,7 @@ tty_keys_add1(struct tty_key **tkp, const char *s, int key)
|
|||||||
void
|
void
|
||||||
tty_keys_init(struct tty *tty)
|
tty_keys_init(struct tty *tty)
|
||||||
{
|
{
|
||||||
struct tty_key_ent *tke;
|
const struct tty_key_ent *tke;
|
||||||
u_int i;
|
u_int i;
|
||||||
const char *s;
|
const char *s;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user