Commit d86f1474 authored by Cyril Plisko's avatar Cyril Plisko 🤔

Update documentation

Mention `NOPAGER` which disables Pager.
parent 6ebeabe5
Pipeline #4282406 passed with stage
in 2 minutes and 16 seconds
......@@ -43,3 +43,7 @@ fn main() {
If no suitable pager found `setup()` does nothing and your executable keeps
running as usual. `Pager` cleans after itself and doesn't leak resources in
case of setup failure.
If you need to disable pager altogether set environment variable `NOPAGER`
and Pager::setup() will skip initialization. The host application will continue
as normal. Pager::ok() will reflect the fact that no Pager is active.
......@@ -34,6 +34,9 @@
//! running as usual. `Pager` cleans after itself and doesn't leak resources in
//! case of setup failure.
//!
//! If you need to disable pager altogether set environment variable `NOPAGER` and Pager::setup()
//! will skip initialization. The host application will continue as normal. Pager::ok() will
//! reflect the fact that no Pager is active.
extern crate libc;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment