mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Don't hang when clearing line in choose mode now that the cursor stays at the
end with wrap.
This commit is contained in:
		@@ -753,7 +753,7 @@ window_choose_write_line(
 | 
			
		||||
		    (item->wcd->type & TREE_SESSION) ?
 | 
			
		||||
		    (item->state & TREE_EXPANDED ? "-" : "+") : "", item->name);
 | 
			
		||||
	}
 | 
			
		||||
	while (s->cx < screen_size_x(s))
 | 
			
		||||
	while (s->cx < screen_size_x(s) - 1)
 | 
			
		||||
		screen_write_putc(ctx, &gc, ' ');
 | 
			
		||||
 | 
			
		||||
	if (data->input_type != WINDOW_CHOOSE_NORMAL) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user