diff options
author | Thomas Adam <thomas@xteddy.org> | 2024-02-13 10:01:10 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2024-02-13 10:01:10 +0000 |
commit | 0960862950476a5a519905487d731a8b843d07c2 (patch) | |
tree | 72b24ad259c3e0c78f1cf166b35b60e718240eab /window.c | |
parent | 44ad25b3673cf9fddc92ed122e51cd9beb50d4f7 (diff) | |
parent | 40b97b1715182b0ab0274b0c402b34e2cba98f04 (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1214,6 +1214,12 @@ window_pane_visible(struct window_pane *wp) return (wp == wp->window->active); } +int +window_pane_exited(struct window_pane *wp) +{ + return (wp->fd == -1 || (wp->flags & PANE_EXITED)); +} + u_int window_pane_search(struct window_pane *wp, const char *term, int regex, int ignore) |