mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not force symbols to width 1, from Yen Chi Hsuan.
This commit is contained in:
		@@ -33,10 +33,6 @@ utf8proc_wcwidth(wchar_t wc)
 | 
				
			|||||||
		 */
 | 
							 */
 | 
				
			||||||
		return (1);
 | 
							return (1);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if (cat == UTF8PROC_CATEGORY_SO) {
 | 
					 | 
				
			||||||
		/* Symbols, like emoji, should always use width 1. */
 | 
					 | 
				
			||||||
		return (1);
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
	return (utf8proc_charwidth(wc));
 | 
						return (utf8proc_charwidth(wc));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user