Propagate terminal widths to subcommands

This commit is contained in:
Armin Ronacher 2017-03-16 14:19:10 +01:00
parent 1b2e7ad4e4
commit e06689fc26

View file

@ -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();
}