diff options
-rw-r--r-- | usr.bin/tmux/resize.c | 10 | ||||
-rw-r--r-- | usr.bin/tmux/tty.c | 3 |
2 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/tmux/resize.c b/usr.bin/tmux/resize.c index 55d846e107e..4914ae6af95 100644 --- a/usr.bin/tmux/resize.c +++ b/usr.bin/tmux/resize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resize.c,v 1.21 2017/02/03 21:01:02 nicm Exp $ */ +/* $OpenBSD: resize.c,v 1.22 2017/02/08 13:53:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -84,8 +84,8 @@ recalculate_sizes(void) if (s->sx == ssx && s->sy == ssy) continue; - log_debug("session size %u,%u (was %u,%u)", ssx, ssy, s->sx, - s->sy); + log_debug("session $%u size %u,%u (was %u,%u)", s->id, ssx, ssy, + s->sx, s->sy); s->sx = ssx; s->sy = ssy; @@ -130,8 +130,8 @@ recalculate_sizes(void) if (w->sx == ssx && w->sy == ssy) continue; - log_debug("window size %u,%u (was %u,%u)", ssx, ssy, w->sx, - w->sy); + log_debug("window @%u size %u,%u (was %u,%u)", w->id, ssx, ssy, + w->sx, w->sy); w->flags &= ~(WINDOW_FORCEWIDTH|WINDOW_FORCEHEIGHT); w->flags |= forced; diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index 4e597ae4c5e..3eb14ed4ef2 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.234 2017/02/08 08:54:45 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.235 2017/02/08 13:53:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -142,6 +142,7 @@ tty_resize(struct tty *tty) sx = 80; sy = 24; } + log_debug("%s: %s now %ux%u", __func__, tty->path, sx, sy); if (!tty_set_size(tty, sx, sy)) return (0); |