mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Send keys when they are complete not before (!= vs ==).
This commit is contained in:
		@@ -120,7 +120,7 @@ cmd_send_keys_inject_string(struct cmdq_item *item, struct cmdq_item *after,
 | 
				
			|||||||
	if (literal) {
 | 
						if (literal) {
 | 
				
			||||||
		ud = utf8_fromcstr(s);
 | 
							ud = utf8_fromcstr(s);
 | 
				
			||||||
		for (uc = ud; uc->size != 0; uc++) {
 | 
							for (uc = ud; uc->size != 0; uc++) {
 | 
				
			||||||
			if (utf8_combine(uc, &wc) == UTF8_DONE)
 | 
								if (utf8_combine(uc, &wc) != UTF8_DONE)
 | 
				
			||||||
				continue;
 | 
									continue;
 | 
				
			||||||
			after = cmd_send_keys_inject_key(item, after, wc);
 | 
								after = cmd_send_keys_inject_key(item, after, wc);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user