Struct pager::Pager[][src]

pub struct Pager { /* fields omitted */ }

Keeps track of the current pager state

Methods

impl Pager
[src]

Creates new instance of Pager with default settings

Creates new instance of pager using env environment variable instead of PAGER

Deprecated since 0.12.0

: use with_env() instead

Creates a new Pager instance with the specified default fallback

Creates a new Pager instance directly specifying the desired pager

Deprecated since 0.14.0

: 'skip_on_notty' is default now

Instructs Pager to bypass invoking pager if output is not a tty

Gives quick assessment of successful Pager setup

Initiates Pager framework and sets up all the necessary environment for sending standard output to the activated pager.

Trait Implementations

impl Debug for Pager
[src]

Formats the value using the given formatter. Read more

impl Default for Pager
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Pager

impl Sync for Pager