From 86905966485cf981676b2f6f78cd5c4a68350155 Mon Sep 17 00:00:00 2001 From: iximeow 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(-) (limited to 'src/display') 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