From 9b28200578670183a0dc70f1d16d5642101a6982 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 5 Apr 2017 10:49:46 +0000 Subject: 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. --- screen-redraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'screen-redraw.c') 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++) -- cgit v1.2.3