aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/question.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/question.rs b/src/gui/question.rs
index 37101c1..33adabc 100644
--- a/src/gui/question.rs
+++ b/src/gui/question.rs
@@ -77,7 +77,7 @@ pub fn ask<B: Backend>(
let formatted_input = match state.answer {
Answer::Write => format!("{}█", state.input),
- _ => state.input.clone(),
+ _ => format!("{} ", state.input),
};
let answer = Paragraph::new(util::center_vertically(chunks[2], &formatted_input))
.style(match state.answer {