mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Key needs to be initialized to zero now it has flags in it.
This commit is contained in:
		@@ -100,7 +100,7 @@ key_bindings_add(const char *name, key_code key, int repeat,
 | 
			
		||||
		free(bd);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	bd = xmalloc(sizeof *bd);
 | 
			
		||||
	bd = xcalloc(1, sizeof *bd);
 | 
			
		||||
	bd->key = key;
 | 
			
		||||
	RB_INSERT(key_bindings, &table->key_bindings, bd);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -900,6 +900,8 @@ retry:
 | 
			
		||||
		log_debug("key table %s (no pane)", table->name);
 | 
			
		||||
	else
 | 
			
		||||
		log_debug("key table %s (pane %%%u)", table->name, wp->id);
 | 
			
		||||
	if (c->flags & CLIENT_REPEAT)
 | 
			
		||||
		log_debug("currently repeating");
 | 
			
		||||
 | 
			
		||||
	/* Try to see if there is a key binding in the current table. */
 | 
			
		||||
	bd_find.key = key;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user