aboutsummaryrefslogtreecommitdiff
path: root/butl/pager
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-07-12 17:24:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-07-23 19:42:48 +0300
commit6c8e3f09c185d7fa4664ccd9e5c4f623a17b84cc (patch)
tree513f523dba31f275994d8152c02db82f3380c56e /butl/pager
parent09bedede7116961fbfb298a6a6cfa933af7af682 (diff)
Extend fdstream
Diffstat (limited to 'butl/pager')
-rw-r--r--butl/pager4
1 files changed, 2 insertions, 2 deletions
diff --git a/butl/pager b/butl/pager
index 4b39c2e..0414e0a 100644
--- a/butl/pager
+++ b/butl/pager
@@ -45,7 +45,7 @@ namespace butl
class pager: protected std::streambuf
{
public:
- ~pager () {wait ();}
+ ~pager () {wait (true);}
// If verbose is true, then print (to STDERR) the pager command line.
//
@@ -58,7 +58,7 @@ namespace butl
stream () {return os_.is_open () ? os_ : std::cout;}
bool
- wait ();
+ wait (bool ignore_errors = false);
// The streambuf output interface that implements indentation. You can
// override it to implement custom output pre-processing.