aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndy Wortman <ixineeringeverywhere@gmail.com>2017-12-03 02:03:02 -0800
committerAndy Wortman <ixineeringeverywhere@gmail.com>2017-12-03 02:03:02 -0800
commita3e0432ef4e80a0c09232ae26b5733adc64b95b2 (patch)
tree4accc508cafdb104b4f1f2430716844a396bfdff /src
parenteb81ec6d98ae0f3e64ce86efc4ac7071358c8a8e (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')
-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() {