mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Turn off scrollbar when pane is in alternate screen, from Michael Grant,
GitHub issue 4231.
This commit is contained in:
4
tmux.h
4
tmux.h
@ -1272,6 +1272,9 @@ TAILQ_HEAD(winlink_stack, winlink);
|
||||
#define PANE_SCROLLBARS_WIDTH 1
|
||||
#define PANE_SCROLLBARS_PADDING 0
|
||||
|
||||
/* True if screen in alternate screen. */
|
||||
#define SCREEN_IS_ALTERNATE(s) ((s)->saved_grid != NULL)
|
||||
|
||||
/* Layout direction. */
|
||||
enum layout_type {
|
||||
LAYOUT_LEFTRIGHT,
|
||||
@ -3173,6 +3176,7 @@ void window_pane_update_used_data(struct window_pane *,
|
||||
void window_set_fill_character(struct window *);
|
||||
void window_pane_default_cursor(struct window_pane *);
|
||||
int window_pane_mode(struct window_pane *);
|
||||
int window_pane_show_scrollbar(struct window_pane *, int);
|
||||
|
||||
/* layout.c */
|
||||
u_int layout_count_cells(struct layout_cell *);
|
||||
|
Reference in New Issue
Block a user