diff options
author | nicm <nicm> | 2017-04-05 10:49:46 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-04-05 10:49:46 +0000 |
commit | 9b28200578670183a0dc70f1d16d5642101a6982 (patch) | |
tree | 745e1455c441ab36e2b39ec9398bfb40c14c9a56 /screen-redraw.c | |
parent | ab4a4b2ad0ce2c8fdb485bc0fe871571181eace8 (diff) | |
download | rtmux-9b28200578670183a0dc70f1d16d5642101a6982.tar.gz rtmux-9b28200578670183a0dc70f1d16d5642101a6982.tar.bz2 rtmux-9b28200578670183a0dc70f1d16d5642101a6982.zip |
Give each client a name. This defaults to the tty name as before but
falls back to an alternative if the tty name is not available. This is
clearer than overloading the client ttyname member and allows us to
remove the path stored in the tty struct, it should always be the same
as the client.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r-- | screen-redraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index c2e39410..699a9191 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -423,7 +423,7 @@ screen_redraw_pane(struct client *c, struct window_pane *wp) if (status_at_line(c) == 0) yoff++; - log_debug("%s: redraw pane %%%u (at %u,%u)", c->tty.path, wp->id, + log_debug("%s: redraw pane %%%u (at %u,%u)", c->name, wp->id, wp->xoff, yoff); for (i = 0; i < wp->sy; i++) |