From aa976f0d932738cb4b4f7cf5bef3d5157c68232d Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 5 Feb 2025 11:36:01 +0800 Subject: fix(messages): add a trailing space to inputlist() etc. prompts (#32328) Before #31525 the prompts had a trailing space. Also add a test for #7857. --- src/nvim/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim') diff --git a/src/nvim/input.c b/src/nvim/input.c index ca2a13e016..fb89d86a75 100644 --- a/src/nvim/input.c +++ b/src/nvim/input.c @@ -159,9 +159,9 @@ int prompt_for_input(char *prompt, int hl_id, bool one_key, bool *mouse_used) if (prompt == NULL) { if (mouse_used != NULL) { - prompt = _("Type number and or click with the mouse (q or empty cancels):"); + prompt = _("Type number and or click with the mouse (q or empty cancels): "); } else { - prompt = _("Type number and (q or empty cancels):"); + prompt = _("Type number and (q or empty cancels): "); } } -- cgit