2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-05 00:00:58 +00:00
This commit is contained in:
dvkt 2020-01-06 01:13:03 -08:00
parent 07c3d4098c
commit 967c2f018e

View File

@ -284,12 +284,13 @@ impl UI {
let page = self.views.get(self.focused)?;
if page.is_tls() {
return Some(format!(
"{}{}{}{}{}",
"{}{}{}{}{}{}",
termion::cursor::Goto(self.cols() - 4, self.rows()),
"\x1b[1m",
color::Fg(color::Black),
color::Bg(color::Green),
"TLS"
"TLS",
"\x1b[0m"
));
}
None