mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add a "delete line" key when editing in the status line or the search up/down
prompt. C-u with emacs keys, d with vi.
This commit is contained in:
		@@ -365,6 +365,9 @@ window_copy_key_input(struct window_pane *wp, int key)
 | 
			
		||||
		if (inputlen > 0)
 | 
			
		||||
			data->inputstr[inputlen - 1] = '\0';
 | 
			
		||||
		break;
 | 
			
		||||
	case MODEKEYEDIT_DELETELINE:
 | 
			
		||||
		*data->inputstr = '\0';
 | 
			
		||||
		break;
 | 
			
		||||
	case MODEKEYEDIT_ENTER:
 | 
			
		||||
		switch (data->inputtype) {
 | 
			
		||||
		case WINDOW_COPY_OFF:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user