diff options
author | Canop <cano.petrole@gmail.com> | 2024-02-14 18:48:47 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2024-02-14 18:48:47 +0100 |
commit | 3072166207f3730be2c4f6239a197a62b414affa (patch) | |
tree | aa1ca1540a5460228dccd71a16ae8086dd573667 /src | |
parent | 71b126c8eaebd3bcfcda5d19a52d5b7e21041393 (diff) |
update changelog
Diffstat (limited to 'src')
-rw-r--r-- | src/image/image_view.rs | 2 | ||||
-rw-r--r-- | src/shell_install/util.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/image/image_view.rs b/src/image/image_view.rs index f8890de..b274a8d 100644 --- a/src/image/image_view.rs +++ b/src/image/image_view.rs @@ -119,7 +119,7 @@ impl ImageView { } self.kitty_image_id = kitty_manager - .try_print_image(w, &self.source_img, area, bg, disc.count, &disc.con)?; + .try_print_image(w, &self.source_img, area, bg, disc.count, disc.con)?; if self.kitty_image_id.is_some() { return Ok(()); diff --git a/src/shell_install/util.rs b/src/shell_install/util.rs index 34d11d1..3976f02 100644 --- a/src/shell_install/util.rs +++ b/src/shell_install/util.rs @@ -20,7 +20,6 @@ pub fn file_contains_line(path: &Path, searched_line: &str) -> Result<bool, Shel pub fn append_to_file<S: AsRef<str>>(path: &Path, content: S) -> Result<(), ShellInstallError> { let mut shellrc = OpenOptions::new() - .write(true) .append(true) .open(path) .context(&|| format!("opening {path:?} for append"))?; |