mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add an option (history-file) for a file to save/restore command prompt
history, from Olof-Joachim Frahm.
This commit is contained in:
		
							
								
								
									
										2
									
								
								server.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								server.c
									
									
									
									
									
								
							@@ -240,6 +240,7 @@ server_start(int lockfd, char *lockfile)
 | 
			
		||||
			cfg_add_cause("%s: %s", cfg_file, cause);
 | 
			
		||||
	}
 | 
			
		||||
	cmdq_continue(cfg_cmd_q);
 | 
			
		||||
	status_prompt_load_history();
 | 
			
		||||
 | 
			
		||||
	server_add_accept(0);
 | 
			
		||||
 | 
			
		||||
@@ -250,6 +251,7 @@ server_start(int lockfd, char *lockfile)
 | 
			
		||||
 | 
			
		||||
	set_signals(server_signal_callback);
 | 
			
		||||
	server_loop();
 | 
			
		||||
	status_prompt_save_history();
 | 
			
		||||
	exit(0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user