mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not translate BSpace as Unicode, GitHub issue 4156.
This commit is contained in:
		@@ -1069,7 +1069,7 @@ tty_keys_extended_key(struct tty *tty, const char *buf, size_t len,
 | 
				
			|||||||
		nkey = number;
 | 
							nkey = number;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Convert UTF-32 codepoint into internal representation. */
 | 
						/* Convert UTF-32 codepoint into internal representation. */
 | 
				
			||||||
	if (nkey & ~0x7f) {
 | 
						if (nkey != KEYC_BSPACE && nkey & ~0x7f) {
 | 
				
			||||||
		if (utf8_fromwc(nkey, &ud) == UTF8_DONE &&
 | 
							if (utf8_fromwc(nkey, &ud) == UTF8_DONE &&
 | 
				
			||||||
		    utf8_from_data(&ud, &uc) == UTF8_DONE)
 | 
							    utf8_from_data(&ud, &uc) == UTF8_DONE)
 | 
				
			||||||
			nkey = uc;
 | 
								nkey = uc;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user