mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
Propagate terminal widths to subcommands
This commit is contained in:
parent
1b2e7ad4e4
commit
e06689fc26
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue