mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Add ~ to quoted characters for %%%, reported by tb@.
This commit is contained in:
		
							
								
								
									
										2
									
								
								cmd.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cmd.c
									
									
									
									
									
								
							| @@ -661,7 +661,7 @@ char * | |||||||
| cmd_template_replace(const char *template, const char *s, int idx) | cmd_template_replace(const char *template, const char *s, int idx) | ||||||
| { | { | ||||||
| 	char		 ch, *buf; | 	char		 ch, *buf; | ||||||
| 	const char	*ptr, *cp, quote[] = "\"\\$;"; | 	const char	*ptr, *cp, quote[] = "\"\\$;~"; | ||||||
| 	int		 replaced, quoted; | 	int		 replaced, quoted; | ||||||
| 	size_t		 len; | 	size_t		 len; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nicm
					nicm