From ed7f9bf9f6da7f8b790085b74c437bbb42787141 Mon Sep 17 00:00:00 2001 From: Joris Date: Wed, 8 Mar 2023 09:31:44 +0100 Subject: Remove response block This is too visible using dark colors in the terminal. --- src/gui/question.rs | 3 +-- 1 file changed, 1 insertion(+), 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(terminal: &mut Terminal, 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]); -- cgit v1.2.3