mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Revert to marking lines as wrapped on newlines, fixes problems with
capturep -J.
This commit is contained in:
		| @@ -795,6 +795,8 @@ screen_write_linefeed(struct screen_write_ctx *ctx, int wrapped) | |||||||
| 	gl = &s->grid->linedata[s->grid->hsize + s->cy]; | 	gl = &s->grid->linedata[s->grid->hsize + s->cy]; | ||||||
| 	if (wrapped) | 	if (wrapped) | ||||||
| 		gl->flags |= GRID_LINE_WRAPPED; | 		gl->flags |= GRID_LINE_WRAPPED; | ||||||
|  | 	else | ||||||
|  | 		gl->flags &= ~GRID_LINE_WRAPPED; | ||||||
|  |  | ||||||
| 	if (s->cy == s->rlower) | 	if (s->cy == s->rlower) | ||||||
| 		grid_view_scroll_region_up(s->grid, s->rupper, s->rlower); | 		grid_view_scroll_region_up(s->grid, s->rupper, s->rlower); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nicm
					nicm