From 2ebd8e976344a93bca11e1aae63a93f11366fc66 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 9 Jun 2017 10:50:21 -0700 Subject: [PATCH] Add trailing space to prompt. --- certbot/display/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/certbot/display/util.py b/certbot/display/util.py index df80789d7..f1922ebb9 100644 --- a/certbot/display/util.py +++ b/certbot/display/util.py @@ -176,7 +176,8 @@ class FileDisplay(object): if self._return_default(message, default, cli_flag, force_interactive): return OK, default - message = _wrap_lines("%s (Enter 'c' to cancel): " % message) + # Trailing space must be added outside of _wrap_lines to be preserved + message = _wrap_lines("%s (Enter 'c' to cancel):" % message) + " " ans = input_with_timeout(message) if ans == "c" or ans == "C":