We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c1c49f + 52ada67 commit ff52037Copy full SHA for ff52037
lib/Pod/Perldoc/ToMan.pm
@@ -221,6 +221,10 @@ sub _collect_nroff_switches {
221
push @render_switches, '-rLL=' . (int $c) . 'n' if $cols > 80;
222
}
223
224
+ if( $self->_is_mandoc ) {
225
+ push @render_switches, '-Owidth=' . $self->_get_columns;
226
+ }
227
+
228
# I hear persistent reports that adding a -c switch to $render
229
# solves many people's problems. But I also hear that some mans
230
# don't have a -c switch, so that unconditionally adding it here
0 commit comments