mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Make the window pane code handle panes of different sizes, and add a -l and -p arguments to split-window to specify the new window size in lines or as a percentage.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: session.c,v 1.49 2009-01-10 19:37:35 nicm Exp $ */
 | 
			
		||||
/* $Id: session.c,v 1.50 2009-01-12 18:22:47 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -197,7 +197,7 @@ session_new(struct session *s,
 | 
			
		||||
    const char *name, const char *cmd, const char *cwd, int idx)
 | 
			
		||||
{
 | 
			
		||||
	struct window	*w;
 | 
			
		||||
	const char	*env[] = { NULL /* TMUX= */, "TERM=screen", NULL };
 | 
			
		||||
	const char	*env[] = CHILD_ENVIRON;
 | 
			
		||||
	char		 buf[256];
 | 
			
		||||
	u_int		 i, hlimit;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user