mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-06 20:42:10 +00:00
cli: add missing newline to pager error messages
Also added colon for consistency.
This commit is contained in:
parent
79267b5492
commit
74084d026c
1 changed files with 2 additions and 2 deletions
|
@ -274,7 +274,7 @@ impl Ui {
|
||||||
// It's possible (though unlikely) that this write fails, but
|
// It's possible (though unlikely) that this write fails, but
|
||||||
// this function gets called so late that there's not much we
|
// this function gets called so late that there's not much we
|
||||||
// can do about it.
|
// can do about it.
|
||||||
self.write_error(&format!("Failed to wait on pager {}", e))
|
self.write_error(&format!("Failed to wait on pager: {}\n", e))
|
||||||
.ok();
|
.ok();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -352,7 +352,7 @@ impl UiOutput {
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
io::stderr()
|
io::stderr()
|
||||||
.write_fmt(format_args!("Failed to spawn pager: {}", e))
|
.write_fmt(format_args!("Failed to spawn pager: {}\n", e))
|
||||||
.ok();
|
.ok();
|
||||||
UiOutput::new_terminal()
|
UiOutput::new_terminal()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue