summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-03-21 16:50:22 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-03-21 16:50:22 +0000
commit3665be7c4467126b64c43b8fd687dd3512ccc05a (patch)
tree5aa93aeee6c25858c0aafec4d6f9def70a195005
parent801d64a16e320f0f24dcc65d2da9eabb16b17dee (diff)
Tidy by splitting default key tables into two.
-rw-r--r--tmux.h2
-rw-r--r--tty.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index b0e63069..1a2b4155 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1674,7 +1674,7 @@ int tty_term_flag(struct tty_term *, enum tty_code_code);
const char *tty_acs_get(struct tty *, u_char);
/* tty-keys.c */
-void tty_keys_init(struct tty *);
+void tty_keys_build(struct tty *);
void tty_keys_free(struct tty *);
int tty_keys_next(struct tty *);
diff --git a/tty.c b/tty.c
index 79cac5bb..9618a333 100644
--- a/tty.c
+++ b/tty.c
@@ -156,7 +156,7 @@ tty_open(struct tty *tty, const char *overrides, char **cause)
tty_start_tty(tty);
- tty_keys_init(tty);
+ tty_keys_build(tty);
return (0);
}