mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-06 11:34:54 +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
|
||||
// this function gets called so late that there's not much we
|
||||
// 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();
|
||||
}
|
||||
}
|
||||
|
@ -352,7 +352,7 @@ impl UiOutput {
|
|||
}
|
||||
Err(e) => {
|
||||
io::stderr()
|
||||
.write_fmt(format_args!("Failed to spawn pager: {}", e))
|
||||
.write_fmt(format_args!("Failed to spawn pager: {}\n", e))
|
||||
.ok();
|
||||
UiOutput::new_terminal()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue