mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Portable tmux needs to check ENABLE_SIXEL.
This commit is contained in:
		
							
								
								
									
										4
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								format.c
									
									
									
									
									
								
							@@ -2324,7 +2324,11 @@ format_cb_version(__unused struct format_tree *ft)
 | 
				
			|||||||
static void *
 | 
					static void *
 | 
				
			||||||
format_cb_sixel_support(__unused struct format_tree *ft)
 | 
					format_cb_sixel_support(__unused struct format_tree *ft)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
					#ifdef ENABLE_SIXEL
 | 
				
			||||||
 | 
						return (xstrdup("1"));
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
	return (xstrdup("0"));
 | 
						return (xstrdup("0"));
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Callback for active_window_index. */
 | 
					/* Callback for active_window_index. */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user