mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-12 08:58:12 +01:00
Now that #P could be in the status line, flag it for redraw when the active
pane changes.
This commit is contained in:
parent
c0862dae45
commit
c6012aaabc
@ -55,6 +55,7 @@ cmd_down_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
if (w->active == NULL)
|
if (w->active == NULL)
|
||||||
w->active = TAILQ_FIRST(&w->panes);
|
w->active = TAILQ_FIRST(&w->panes);
|
||||||
} while (!window_pane_visible(w->active));
|
} while (!window_pane_visible(w->active));
|
||||||
|
server_status_window(wl->window);
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
@ -63,6 +63,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
window_set_active_pane(wl->window, wp);
|
window_set_active_pane(wl->window, wp);
|
||||||
|
server_status_window(wl->window);
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
@ -55,6 +55,7 @@ cmd_up_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
if (w->active == NULL)
|
if (w->active == NULL)
|
||||||
w->active = TAILQ_LAST(&w->panes, window_panes);
|
w->active = TAILQ_LAST(&w->panes, window_panes);
|
||||||
} while (!window_pane_visible(w->active));
|
} while (!window_pane_visible(w->active));
|
||||||
|
server_status_window(wl->window);
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user