version 1.64, 2018/05/09 07:50:03 |
version 1.65, 2018/05/28 11:50:47 |
|
|
return (NULL); |
return (NULL); |
|
|
RB_FOREACH(wp, window_pane_tree, &all_window_panes) { |
RB_FOREACH(wp, window_pane_tree, &all_window_panes) { |
if (strcmp(wp->tty, c->ttyname) == 0) |
if (wp->fd != -1 && strcmp(wp->tty, c->ttyname) == 0) |
break; |
break; |
} |
} |
if (wp != NULL) |
if (wp != NULL) |
|
|
} |
} |
|
|
/* |
/* |
* Find the best winlink for a window (the current if it contains the pane, |
* Find the best winlink for a window (the current if it contains the window, |
* otherwise the first). |
* otherwise the first). |
*/ |
*/ |
static int |
static int |
|
|
|
|
cmd_find_log_state(__func__, fs); |
cmd_find_log_state(__func__, fs); |
return (0); |
return (0); |
|
} |
|
else { |
|
log_debug("%s: session $%u does not have pane %%%u", |
|
__func__, s->id, wp->id); |
} |
} |
} |
} |
|
|