mirror of
https://github.com/tmux/tmux.git
synced 2026-06-21 09:45:41 +00:00
Fix cursor and redraw overlap with auto-hide scrollbars
Auto-hide scrollbars are drawn as overlays inside the pane rather than in reserved columns. Avoid optimized pane scrolling/redraw paths writing through a visible overlay scrollbar, and suppress the terminal cursor when it would be placed in the visible overlay scrollbar column. This prevents transient wrong-colour cells and cursor blocks appearing over the scrollbar, especially when scrolling small floating panes. This fixed the green block issue.
This commit is contained in:
2
tmux.h
2
tmux.h
@@ -3518,9 +3518,11 @@ int window_pane_show_scrollbar(struct window_pane *, int);
|
||||
int window_pane_scrollbar_reserve(struct window_pane *, int);
|
||||
int window_pane_scrollbar_visible(struct window_pane *, int);
|
||||
int window_pane_scrollbar_overlay(struct window_pane *, int);
|
||||
int window_pane_scrollbar_overlay_visible(struct window_pane *);
|
||||
void window_pane_scrollbar_show(struct window_pane *, int);
|
||||
void window_pane_scrollbar_hide(struct window_pane *);
|
||||
void window_pane_scrollbar_start_timer(struct window_pane *);
|
||||
void window_pane_scrollbar_redraw(struct window_pane *);
|
||||
int window_pane_get_bg(struct window_pane *);
|
||||
int window_pane_get_fg(struct window_pane *);
|
||||
int window_pane_get_fg_control_client(struct window_pane *);
|
||||
|
||||
Reference in New Issue
Block a user