diff options
author | 2011-12-01 23:47:08 +0000 | |
---|---|---|
committer | 2011-12-01 23:47:08 +0000 | |
commit | e0f67014ff1e9c672d0880b449b05bef74d9becc (patch) | |
tree | 70e2b4c2a3f38198b4ce4f053353608affbb02bc | |
parent | Be sure to splx() before return in pgt_media_status(); from Jan Klemkow on (diff) | |
download | wireguard-openbsd-e0f67014ff1e9c672d0880b449b05bef74d9becc.tar.xz wireguard-openbsd-e0f67014ff1e9c672d0880b449b05bef74d9becc.zip |
Log terminal overrides.
-rw-r--r-- | usr.bin/tmux/tty-term.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c index c155fa5112a..6ecba5cd7b8 100644 --- a/usr.bin/tmux/tty-term.c +++ b/usr.bin/tmux/tty-term.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-term.c,v 1.26 2011/10/23 10:16:14 nicm Exp $ */ +/* $OpenBSD: tty-term.c,v 1.27 2011/12/01 23:47:08 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -263,6 +263,8 @@ tty_term_override(struct tty_term *term, const char *overrides) } else val = xstrdup(""); + log_debug("%s override: %s %s", + term->name, entstr, removeflag ? "@" : val); for (i = 0; i < NTTYCODE; i++) { ent = &tty_term_codes[i]; if (strcmp(entstr, ent->name) != 0) |