fix edition file format (#133)

This commit is contained in:
Clément DOUIN 2021-04-27 17:18:53 +02:00
parent cddb7bde37
commit 754d311a05
No known key found for this signature in database
GPG key ID: 69C9B9CFFDEE2DEF
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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();