mirror of
https://github.com/tmux/tmux.git
synced 2026-07-04 09:34:45 +00:00
Allow -p more than 100%, and account for borders when sizing new panes.
From Dane Jensen.
This commit is contained in:
9
window.c
9
window.c
@@ -2177,6 +2177,15 @@ 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