mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Fix scrolling.
This commit is contained in:
		
							
								
								
									
										1
									
								
								TODO
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								TODO
									
									
									
									
									
								
							@@ -51,7 +51,6 @@
 | 
			
		||||
 | 
			
		||||
- document buffer stuff
 | 
			
		||||
- document next/prev word
 | 
			
		||||
- fix prompt scrolling when line exceeds space **** 
 | 
			
		||||
- commands:	save-buffer -b number filename
 | 
			
		||||
		load-buffer -b number filename
 | 
			
		||||
  	      	copy-buffer -s src-session -t dst-session -a src-index -b dst-index
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								status.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								status.c
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: status.c,v 1.41 2008-06-23 22:12:29 nicm Exp $ */
 | 
			
		||||
/* $Id: status.c,v 1.42 2008-06-27 17:32:24 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -350,7 +350,7 @@ status_prompt_redraw(struct client *c)
 | 
			
		||||
		if (c->prompt_index < left)
 | 
			
		||||
			size = strlen(c->prompt_buffer);
 | 
			
		||||
		else {
 | 
			
		||||
			offset = c->prompt_index - left;
 | 
			
		||||
			offset = c->prompt_index - left - 1;
 | 
			
		||||
			if (c->prompt_index == strlen(c->prompt_buffer))
 | 
			
		||||
				left--;
 | 
			
		||||
			size = left;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user