diff options
author | Joris | 2023-03-08 09:31:44 +0100 |
---|---|---|
committer | Joris | 2023-03-08 09:31:44 +0100 |
commit | ed7f9bf9f6da7f8b790085b74c437bbb42787141 (patch) | |
tree | 7be934abbb3453789a8827f3359c9cb440076c26 /src/gui | |
parent | 7eaa68fcd906adcf320dced96779cafb1f8400e7 (diff) |
Remove response block
This is too visible using dark colors in the terminal.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/question.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/question.rs b/src/gui/question.rs index c07b5f4..6694c08 100644 --- a/src/gui/question.rs +++ b/src/gui/question.rs @@ -10,7 +10,7 @@ use tui::{ layout::{Alignment, Constraint, Direction, Layout}, style::{Color, Modifier, Style}, text::{Span, Spans, Text}, - widgets::{Block, Borders, Paragraph, Wrap}, + widgets::{Paragraph, Wrap}, Terminal, }; @@ -86,7 +86,6 @@ pub fn ask<B: Backend>(terminal: &mut Terminal<B>, title: &str, card: &Card) -> } }) .alignment(Alignment::Center) - .block(Block::default().borders(Borders::ALL).title("RĂ©ponse")) .wrap(Wrap { trim: true }); f.render_widget(answer, chunks[2]); |