mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Flag tabs if possible in the grid cell so they can be preserved on
copying and capture-pane. From Alexander Arch in GitHub issue 4201.
This commit is contained in:
		
							
								
								
									
										2
									
								
								tmux.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tmux.h
									
									
									
									
									
								
							@@ -709,6 +709,7 @@ struct colour_palette {
 | 
			
		||||
#define GRID_FLAG_SELECTED 0x10
 | 
			
		||||
#define GRID_FLAG_NOPALETTE 0x20
 | 
			
		||||
#define GRID_FLAG_CLEARED 0x40
 | 
			
		||||
#define GRID_FLAG_TAB 0x80
 | 
			
		||||
 | 
			
		||||
/* Grid line flags. */
 | 
			
		||||
#define GRID_LINE_WRAPPED 0x1
 | 
			
		||||
@@ -2861,6 +2862,7 @@ int	 attributes_fromstring(const char *);
 | 
			
		||||
/* grid.c */
 | 
			
		||||
extern const struct grid_cell grid_default_cell;
 | 
			
		||||
void	 grid_empty_line(struct grid *, u_int, u_int);
 | 
			
		||||
void	 grid_set_tab(struct grid_cell *, u_int);
 | 
			
		||||
int	 grid_cells_equal(const struct grid_cell *, const struct grid_cell *);
 | 
			
		||||
int	 grid_cells_look_equal(const struct grid_cell *,
 | 
			
		||||
	     const struct grid_cell *);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user