Struct pager::Pager
[−]
[src]
pub struct Pager { /* fields omitted */ }
Methods
impl Pager
[src]
fn new() -> Self
[src]
Creates new instance of pager with default settings
fn with_env(env: &str) -> Self
[src]
Creates new instance of pager using env
environment variable instead of PAGER
fn env(env: &str) -> Self
[src]
Deprecated since 0.12.0
: use with_env() instead
fn with_pager(pager: &str) -> Self
[src]
Creates a new pager instance directly specifying the desired pager
fn is_on(&self) -> bool
[src]
Gives quick assessment of successful Pager setup
fn setup(&mut self)
[src]
Initiates Pager framework and sets up all the necessary environment for sending standard output to the activated pager.