summaryrefslogtreecommitdiffstats
path: root/src/mode.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2023-11-12 18:41:06 +0100
committerqkzk <qu3nt1n@gmail.com>2023-11-12 18:41:06 +0100
commit2b07bc935ec7cf9fa1eaf734a45472b6f2032309 (patch)
tree490c785840539daa4aca9ea7561b7dd5326a2b65 /src/mode.rs
parent0dcaaee0ea5a269f2a0e607d6294d73c82f6c604 (diff)
improve draw
Diffstat (limited to 'src/mode.rs')
-rw-r--r--src/mode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.rs b/src/mode.rs
index e7076c2..21575a0 100644
--- a/src/mode.rs
+++ b/src/mode.rs
@@ -39,7 +39,7 @@ impl NeedConfirmation {
/// Since we ask the user confirmation, we need to know how much space
/// is needed.
pub fn cursor_offset(&self) -> usize {
- self.to_string().len() + 8
+ self.to_string().len() + 9
}
/// A confirmation message to be displayed before executing the mode.