mirror of
https://github.com/tmux/tmux.git
synced 2026-07-04 09:34:45 +00:00
Fix an infinite loop in customize mode when a filter does not match, and
tweak a tmux.1 example.
This commit is contained in:
18
window.c
18
window.c
@@ -2165,6 +2165,15 @@ window_pane_status_get_range(struct window_pane *wp, u_int x, u_int y)
|
||||
return (style_ranges_get_range(srs, x - wp->xoff - 2));
|
||||
}
|
||||
|
||||
enum pane_lines
|
||||
window_get_pane_lines(struct window *w)
|
||||
{
|
||||
struct options *oo;
|
||||
|
||||
oo = w->options;
|
||||
return (options_get_number(oo, "pane-border-lines"));
|
||||
}
|
||||
|
||||
enum pane_lines
|
||||
window_pane_get_pane_lines(struct window_pane *wp)
|
||||
{
|
||||
@@ -2177,15 +2186,6 @@ window_pane_get_pane_lines(struct window_pane *wp)
|
||||
return (options_get_number(oo, "pane-border-lines"));
|
||||
}
|
||||
|
||||
enum pane_lines
|
||||
window_get_pane_lines(struct window *w)
|
||||
{
|
||||
struct options *oo;
|
||||
|
||||
oo = w->options;
|
||||
return (options_get_number(oo, "pane-border-lines"));
|
||||
}
|
||||
|
||||
int
|
||||
window_get_pane_status(struct window *w)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user