mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Trim newline from ctime, from Thomas Adam.
This commit is contained in:
		@@ -341,6 +341,7 @@ server_destroy_pane(struct window_pane *wp, int notify)
 | 
			
		||||
 | 
			
		||||
		time(&t);
 | 
			
		||||
		ctime_r(&t, tim);
 | 
			
		||||
		tim[strcspn(tim, "\n")] = '\0';
 | 
			
		||||
 | 
			
		||||
		if (WIFEXITED(wp->status)) {
 | 
			
		||||
			screen_write_nputs(&ctx, -1, &gc,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user