From 754d311a05aa1e515c14886044607d4c71419162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Tue, 27 Apr 2021 17:18:53 +0200 Subject: [PATCH] fix edition file format (#133) --- CHANGELOG.md | 2 ++ src/msg/model.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d095b72..3c1810e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - IDLE mode after network interruption [#123] - Output redirected to `stderr` [#130] - Refactor table system [#132] +- Editon file format on Linux [#133] ## [0.2.6] - 2021-04-17 @@ -211,3 +212,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#126]: https://github.com/soywod/himalaya/issues/126 [#130]: https://github.com/soywod/himalaya/issues/130 [#132]: https://github.com/soywod/himalaya/issues/132 +[#133]: https://github.com/soywod/himalaya/issues/133 diff --git a/src/msg/model.rs b/src/msg/model.rs index 72c72dc..53b9ebb 100644 --- a/src/msg/model.rs +++ b/src/msg/model.rs @@ -36,7 +36,7 @@ impl fmt::Display for Tpl { unsafe { match get_output_fmt() { &OutputFmt::Plain => { - writeln!(f, "{}", self.0) + write!(f, "{}", self.0) } &OutputFmt::Json => { let res = serde_json::to_string(&Response::new(self)).unwrap();