From a3e0432ef4e80a0c09232ae26b5733adc64b95b2 Mon Sep 17 00:00:00 2001 From: Andy Wortman Date: Sun, 3 Dec 2017 02:03:02 -0800 Subject: fix style bug when replying to locked accounts was incorrectly resetting ALL styling after underlining the word "locked", but instead just revert the underline only --- src/display/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display/mod.rs b/src/display/mod.rs index 04b200f..37de481 100644 --- a/src/display/mod.rs +++ b/src/display/mod.rs @@ -752,7 +752,7 @@ pub fn render_twete_no_recurse(twete_id: &TweetId, tweeter: &tw::TwitterCache, d let mut author_string = short_display_summary(&tweet_author); if tweet_author.protected { - id_string.push_str(&format!(" {}locked{}", termion::style::Underline, termion::style::Reset)); + id_string.push_str(&format!(" {}locked{}", termion::style::Underline, termion::style::NoUnderline)); } if let Some(reply_id) = tweet.reply_to_tweet.clone() { -- cgit v1.1