mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Allow repeat count to be specified in mode key tables with bind-key -R,
and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode.
This commit is contained in:
		
							
								
								
									
										2
									
								
								status.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								status.c
									
									
									
									
									
								
							@@ -818,7 +818,7 @@ status_prompt_key(struct client *c, key_code key)
 | 
			
		||||
	size_t			 size, n, off, idx, bufsize;
 | 
			
		||||
 | 
			
		||||
	size = strlen(c->prompt_buffer);
 | 
			
		||||
	switch (mode_key_lookup(&c->prompt_mdata, key, NULL)) {
 | 
			
		||||
	switch (mode_key_lookup(&c->prompt_mdata, key, NULL, NULL)) {
 | 
			
		||||
	case MODEKEYEDIT_CURSORLEFT:
 | 
			
		||||
		if (c->prompt_index > 0) {
 | 
			
		||||
			c->prompt_index--;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user