mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Reset mode before adding text.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: key-bindings.c,v 1.60 2009-02-13 18:57:55 nicm Exp $ */
 | 
			
		||||
/* $Id: key-bindings.c,v 1.61 2009-02-13 20:19:30 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -178,6 +178,8 @@ key_bindings_print(struct cmd_ctx *ctx, const char *fmt, ...)
 | 
			
		||||
	struct winlink	*wl = ctx->cursession->curw; 
 | 
			
		||||
	va_list		 ap;
 | 
			
		||||
 | 
			
		||||
	if (wl->window->active->mode != &window_more_mode)
 | 
			
		||||
		window_pane_reset_mode(wl->window->active);
 | 
			
		||||
	window_pane_set_mode(wl->window->active, &window_more_mode);
 | 
			
		||||
 | 
			
		||||
	va_start(ap, fmt);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user