mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	readline_buffer: disable bracketed paste escape sequences
This commit is contained in:
		
							parent
							
								
									d9b765a3af
								
							
						
					
					
						commit
						5435202450
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -238,6 +238,10 @@ static char** attempted_completion(const char* text, int start, int end)
 | 
			
		|||
 | 
			
		||||
static void install_line_handler()
 | 
			
		||||
{
 | 
			
		||||
#if RL_READLINE_VERSION >= 0x0801
 | 
			
		||||
  rl_variable_bind("enable-bracketed-paste", "off");
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
  rl_attempted_completion_function = attempted_completion;
 | 
			
		||||
  rl_callback_handler_install("", handle_line);
 | 
			
		||||
  stifle_history(500);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue