mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Add an option (scroll-on-clear) to control if tmux scrolls into history
on clear, from Robert Lange in GitHub issue 3121.
This commit is contained in:
		@@ -1081,6 +1081,14 @@ const struct options_table_entry options_table[] = {
 | 
			
		||||
	          "remain-on-exit is enabled."
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	{ .name = "scroll-on-clear",
 | 
			
		||||
	  .type = OPTIONS_TABLE_FLAG,
 | 
			
		||||
	  .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
 | 
			
		||||
	  .default_num = 1,
 | 
			
		||||
	  .text = "Whether the contents of the screen should be scrolled into"
 | 
			
		||||
		  "history when clearing the whole screen."
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	{ .name = "synchronize-panes",
 | 
			
		||||
	  .type = OPTIONS_TABLE_FLAG,
 | 
			
		||||
	  .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user