From e06689fc26d759c9797a19766d3589d6cab273aa Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Thu, 16 Mar 2017 14:19:10 +0100 Subject: [PATCH] Propagate terminal widths to subcommands --- src/app/parser.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/parser.rs b/src/app/parser.rs index f8be34a4..d0cdae9e 100644 --- a/src/app/parser.rs +++ b/src/app/parser.rs @@ -329,6 +329,8 @@ impl<'a, 'b> Parser<'a, 'b> } sc.p.settings = sc.p.settings | self.g_settings; sc.p.g_settings = sc.p.g_settings | self.g_settings; + sc.p.meta.term_w = self.meta.term_w; + sc.p.meta.max_w = self.meta.max_w; } sc.p.propogate_settings(); }