summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2011-12-01 23:47:08 +0000
committernicm <nicm@openbsd.org>2011-12-01 23:47:08 +0000
commite0f67014ff1e9c672d0880b449b05bef74d9becc (patch)
tree70e2b4c2a3f38198b4ce4f053353608affbb02bc /usr.bin
parentBe sure to splx() before return in pgt_media_status(); from Jan Klemkow on (diff)
downloadwireguard-openbsd-e0f67014ff1e9c672d0880b449b05bef74d9becc.tar.xz
wireguard-openbsd-e0f67014ff1e9c672d0880b449b05bef74d9becc.zip
Log terminal overrides.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/tty-term.c4
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)