mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying colours...
This commit is contained in:
		@@ -23,7 +23,7 @@
 | 
				
			|||||||
#include "tmux.h"
 | 
					#include "tmux.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * List panes on given window..
 | 
					 * List panes on given window.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int	cmd_list_panes_exec(struct cmd *, struct cmd_ctx *);
 | 
					int	cmd_list_panes_exec(struct cmd *, struct cmd_ctx *);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -321,10 +321,12 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
 | 
				
			|||||||
	if (setupterm(name, fd, &error) != OK) {
 | 
						if (setupterm(name, fd, &error) != OK) {
 | 
				
			||||||
		switch (error) {
 | 
							switch (error) {
 | 
				
			||||||
		case 1:
 | 
							case 1:
 | 
				
			||||||
			xasprintf(cause, "can't use hardcopy terminal: %s", name);
 | 
								xasprintf(
 | 
				
			||||||
 | 
								    cause, "can't use hardcopy terminal: %s", name);
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		case 0:
 | 
							case 0:
 | 
				
			||||||
			xasprintf(cause, "missing or unsuitable terminal: %s", name);
 | 
								xasprintf(
 | 
				
			||||||
 | 
								    cause, "missing or unsuitable terminal: %s", name);
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		case -1:
 | 
							case -1:
 | 
				
			||||||
			xasprintf(cause, "can't find terminfo database");
 | 
								xasprintf(cause, "can't find terminfo database");
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								tty.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tty.c
									
									
									
									
									
								
							@@ -1120,8 +1120,8 @@ tty_cursor(struct tty *tty, u_int cx, u_int cy)
 | 
				
			|||||||
		change = thisy - cy;	/* +ve up, -ve down */
 | 
							change = thisy - cy;	/* +ve up, -ve down */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		/*
 | 
							/*
 | 
				
			||||||
		 * Try to use VPA if change is larger than absolute or if this change
 | 
							 * Try to use VPA if change is larger than absolute or if this
 | 
				
			||||||
		 * would cross the scroll region, otherwise use CUU/CUD.
 | 
							 * change would cross the scroll region, otherwise use CUU/CUD.
 | 
				
			||||||
		 */
 | 
							 */
 | 
				
			||||||
		if (abs(change) > cy ||
 | 
							if (abs(change) > cy ||
 | 
				
			||||||
		    (change < 0 && cy - change > tty->rlower) ||
 | 
							    (change < 0 && cy - change > tty->rlower) ||
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user