mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Redraw status bar on link.
This commit is contained in:
		
							
								
								
									
										1
									
								
								TODO
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								TODO
									
									
									
									
									
								
							@@ -58,6 +58,7 @@
 | 
			
		||||
	unlink window (error if window only linked to one session)
 | 
			
		||||
		tmux -s <sess> unlink-window -i<tgt idx>
 | 
			
		||||
	kill session (not bound by default)
 | 
			
		||||
- fix most(1) problems after scrolling
 | 
			
		||||
- check for some reqd terminfo caps on startup
 | 
			
		||||
 | 
			
		||||
-- For 0.2 --------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: cmd-link-window.c,v 1.1 2007-10-26 13:03:59 nicm Exp $ */
 | 
			
		||||
/* $Id: cmd-link-window.c,v 1.2 2007-10-26 13:35:39 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -140,7 +140,8 @@ cmd_link_window_exec(void *ptr, struct cmd_ctx *ctx)
 | 
			
		||||
	if (!data->flag_detached) {
 | 
			
		||||
		session_select(dst, wl->idx);
 | 
			
		||||
		server_redraw_session(dst);
 | 
			
		||||
	}
 | 
			
		||||
	} else
 | 
			
		||||
		server_status_session(dst);
 | 
			
		||||
 | 
			
		||||
	if (!(ctx->flags & CMD_KEY))
 | 
			
		||||
		server_write_client(c, MSG_EXIT, NULL, 0);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: session.c,v 1.25 2007-10-26 12:29:07 nicm Exp $ */
 | 
			
		||||
/* $Id: session.c,v 1.26 2007-10-26 13:35:39 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -115,7 +115,7 @@ session_create(const char *name, const char *cmd, u_int sx, u_int sy)
 | 
			
		||||
		session_destroy(s);
 | 
			
		||||
		return (NULL);
 | 
			
		||||
	}
 | 
			
		||||
	session_select(s, i);
 | 
			
		||||
	session_select(s, 0);
 | 
			
		||||
 | 
			
		||||
	return (s);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user