|
|
@ -1,13 +1,13 @@ |
|
|
|
use cursive::{
|
|
|
|
theme::{Effect, Style},
|
|
|
|
theme::{BaseColor, Color, Effect, Style},
|
|
|
|
traits::*,
|
|
|
|
utils::markup::StyledString,
|
|
|
|
views::{Dialog, EditView, ResizedView, SelectView, TextView},
|
|
|
|
Cursive,
|
|
|
|
};
|
|
|
|
use maj::{self, Response};
|
|
|
|
use std::str;
|
|
|
|
use rustls::ClientConfig;
|
|
|
|
use std::str;
|
|
|
|
|
|
|
|
/// The state of the browser.
|
|
|
|
#[derive(Clone)]
|
|
|
@ -225,7 +225,10 @@ pub fn render(body: &str) -> StyledString { |
|
|
|
Style::from(Effect::Bold),
|
|
|
|
)),
|
|
|
|
ListItem(item) => styled.append(StyledString::plain(format!("* {}", item))),
|
|
|
|
Quote(quote) => styled.append(StyledString::plain(format!("> {}", quote))),
|
|
|
|
Quote(quote) => styled.append(StyledString::styled(
|
|
|
|
format!("> {}", quote),
|
|
|
|
Style::from(Color::Dark(BaseColor::Green)),
|
|
|
|
)),
|
|
|
|
}
|
|
|
|
styled.append(StyledString::plain("\n"));
|
|
|
|
}
|
|
|
|