Beispiel #1
0
/* Redraws view in explore mode if view is really in explore mode and is visible
 * on the screen. */
static void
try_redraw_explore_view(const FileView *const view, int vi_index)
{
	if(view->explore_mode && ui_view_is_visible(view))
	{
		vi = &view_info[vi_index];
		redraw();
	}
}
Beispiel #2
0
void
toggle_quick_view(void)
{
	if(curr_stats.view)
	{
		curr_stats.view = 0;

		if(ui_view_is_visible(other_view))
		{
			draw_dir_list(other_view);
			refresh_view_win(other_view);
		}
	}
	else
	{
		curr_stats.view = 1;
		quick_view_file(curr_view);
	}
}