mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Add support for a scrollbar at the side of each pane. New options
pane-scrollbars turn them on or off, pane-scrollbars-position sets the position (left or right), and pane-scrollbars-style to set the colours. Mouse support will come later. From Michael Grant in GitHub issue 4221.
This commit is contained in:
		@@ -1171,7 +1171,9 @@ options_push_changes(const char *name)
 | 
			
		||||
		RB_FOREACH(wp, window_pane_tree, &all_window_panes)
 | 
			
		||||
			colour_palette_from_option(&wp->palette, wp->options);
 | 
			
		||||
	}
 | 
			
		||||
	if (strcmp(name, "pane-border-status") == 0) {
 | 
			
		||||
	if (strcmp(name, "pane-border-status") == 0 ||
 | 
			
		||||
	    strcmp(name, "pane-scrollbars") == 0 ||
 | 
			
		||||
	    strcmp(name, "pane-scrollbars-position") == 0) {
 | 
			
		||||
		RB_FOREACH(w, windows, &windows)
 | 
			
		||||
			layout_fix_panes(w, NULL);
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user