diff --git a/Cargo.toml b/Cargo.toml index b52a89c..7e12cfb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "sydney" -version = "0.1.8" +version = "0.1.9" authors = ["Fuwn "] edition = "2021" description = "Vim-like, Command-line Gemini Client" diff --git a/README.md b/README.md index 70b63b4..49afdf8 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Sydney is a Vim-like, command-line Gemini client. -[![GIF of Sydney in action](https://host.fuwn.me/3k5cmvhf24dx.gif)](https://host.fuwn.me/c2uvq9mqiccc.gif) +[![GIF of Sydney in action](https://host.fuwn.me/m3q9cny6pr5f.png)](https://host.fuwn.me/m3q9cny6pr5f.png) Sydney has a beautiful, intuitive, and powerful command-line interface; including: diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 3aa68ad..292fe49 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2022-07-23" +channel = "stable" diff --git a/src/main.rs b/src/main.rs index 060ca08..ab628f8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,7 +26,6 @@ clippy::nursery, clippy::pedantic )] -#![feature(iter_advance_by)] #![recursion_limit = "128"] mod app; diff --git a/src/ui.rs b/src/ui.rs index 8e6ff6c..cfe391a 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -139,14 +139,10 @@ pub fn ui( text, alt_text, } => { - let mut span_list = vec![]; - - span_list.push(Span::styled( - "``` ", - Style::default().fg(Color::LightBlue), - )); - span_list - .push(Span::from(alt_text.unwrap_or_else(|| "".to_string()))); + let mut span_list = vec![ + Span::styled("``` ", Style::default().fg(Color::LightBlue)), + Span::from(alt_text.unwrap_or_else(|| "".to_string())), + ]; if text != "sydney_abc_123" { span_list.push(Span::from(text));