aboutsummaryrefslogtreecommitdiff
path: root/src/display
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2017-12-03 02:03:02 -0800
committeriximeow <me@iximeow.net>2017-12-03 02:03:02 -0800
commit86905966485cf981676b2f6f78cd5c4a68350155 (patch)
tree4accc508cafdb104b4f1f2430716844a396bfdff /src/display
parent911b121e46661abd40f5710466031e3db55f075c (diff)
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
Diffstat (limited to 'src/display')
-rw-r--r--src/display/mod.rs2
1 files changed, 1 insertions, 1 deletions
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() {