do not append an extra newline char

This commit is contained in:
Cengiz Can 2017-06-29 10:40:51 +03:00
parent 3146e552d1
commit 1beeb5a277

View File

@ -411,7 +411,7 @@ fn show_content_with_pager(content: &String) {
// If pager fails for whatever reason, we should still print the content
// to standard output
if fallback_to_println {
println!("{}", content);
print!("{}", content);
}
}