aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/question.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/question.rs b/src/gui/question.rs
index 81347b5..0d9d3c2 100644
--- a/src/gui/question.rs
+++ b/src/gui/question.rs
@@ -70,7 +70,8 @@ pub fn ask<B: Backend>(
.alignment(Alignment::Center);
f.render_widget(question, chunks[1]);
- let answer = Paragraph::new(util::center_vertically(chunks[2], &state.input))
+ let formatted_input = format!("{}█", state.input);
+ let answer = Paragraph::new(util::center_vertically(chunks[2], &formatted_input))
.style(match state.answer {
Answer::Write => Style::default(),
Answer::Difficulty { difficulty: _ } => {