Skip to content

Commit 527a375

Browse files
committed
chore(git): revert incorrect simplification
This reverts commit b12de32.
1 parent 8d881d0 commit 527a375

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cli/man_page.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ fn man_path(page_num: u8) -> String {
6262
fn render_man_output(page_num: u8) -> Result<String, String> {
6363
let roff_file = roff_path(page_num);
6464
let output = Command::new("groff")
65-
.args(["-man", "-Tutf8", "-P-cbou"])
65+
.args([
66+
"-man", "-T", "utf8", "-K", "utf8", "-P", "-c", "-P", "-b", "-P", "-u",
67+
])
68+
.env("GROFF_NO_SGR", "1")
6669
.arg(format!("-rLL={LINE_LENGTH}n"))
6770
.arg(format!("./{roff_file}"))
6871
.output()

0 commit comments

Comments
 (0)