mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Fix search forward so it can match strings on the last line, SF bug
3571114 from "LiJunLe".
This commit is contained in:
		@@ -1068,7 +1068,7 @@ window_copy_search_down(struct window_pane *wp, const char *searchstr)
 | 
			
		||||
 | 
			
		||||
retry:
 | 
			
		||||
	sgd = ss.grid;
 | 
			
		||||
	for (i = fy + 1; i < gd->hsize + gd->sy; i++) {
 | 
			
		||||
	for (i = fy + 1; i < gd->hsize + gd->sy + 1; i++) {
 | 
			
		||||
		first = 0;
 | 
			
		||||
		if (i == fy + 1)
 | 
			
		||||
			first = fx;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user