Implement and document new -P / --paging-mode flags to commandline, to support new

pager
This commit is contained in:
ridiculousfish
2014-01-17 12:53:01 -08:00
parent c6e5201e15
commit 32054b6f32
4 changed files with 62 additions and 71 deletions

View File

@@ -3872,7 +3872,17 @@ int reader_search_mode()
return -1;
}
return !!data->search_mode;
return !! data->search_mode;
}
int reader_has_pager_contents()
{
if (!data)
{
return -1;
}
return data->current_page_rendering.screen_data.empty() ? 1 : 0;
}