Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 90c9f0d

Browse files
authored
Merge pull request #73 from PThorpe92/dev
fix: add modifier to fix display on other terminals
2 parents aeb0f3d + b2a07bd commit 90c9f0d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
![image](logo.gif)
2+
23
![image](cute.png)
34
# Rust TUI HTTP Client with API Key Management
45

src/screens/screen.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,12 @@ impl<'a> Screen {
188188
.borders(Borders::ALL),
189189
)
190190
.style(Style::default().fg(Color::White))
191-
.highlight_style(Style::default().add_modifier(Modifier::ITALIC))
191+
.highlight_style(
192+
Style::default()
193+
.add_modifier(Modifier::REVERSED)
194+
.add_modifier(Modifier::BOLD)
195+
.add_modifier(Modifier::ITALIC),
196+
)
192197
.highlight_symbol("󱋰 ")
193198
}
194199
}

0 commit comments

Comments
 (0)