mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	
			
				
					
						
					
					f41a3914a55cd61223418a019cb23e6aee173098
				
			
			
		
	Try to reduce the UTF-8 mess. Get rid of passing around u_char[4]s and define a struct utf8_data which has character data, size (sequence length) and width. Move UTF-8 character collection into two functions utf8_open/utf8_append in utf8.c which fill in this struct and use these functions from input.c and the various functions in screen-write.c. Space for rather more data than is necessary for one UTF-8 sequence is in the utf8_data struct because screen_write_copy is still nasty and needs to reinject the character (after combining) into screen_write_cell.
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		Description
				No description provided
						
						
						
					Languages
				
				
								
								
									C
								
								87.5%
							
						
							
								
								
									Roff
								
								7.1%
							
						
							
								
								
									Shell
								
								2.7%
							
						
							
								
								
									Yacc
								
								1.3%
							
						
							
								
								
									M4
								
								0.8%
							
						
							
								
								
									Other
								
								0.5%