aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/input.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-05 11:36:01 +0800
committerGitHub <noreply@github.com>2025-02-05 11:36:01 +0800
commitaa976f0d932738cb4b4f7cf5bef3d5157c68232d (patch)
tree4350105bd7b037be046e542e8ab7d90bd433e43c /src/nvim/input.c
parent1deb580977f4144ff3e4704765d13684e84405c5 (diff)
downloadrneovim-aa976f0d932738cb4b4f7cf5bef3d5157c68232d.tar.gz
rneovim-aa976f0d932738cb4b4f7cf5bef3d5157c68232d.tar.bz2
rneovim-aa976f0d932738cb4b4f7cf5bef3d5157c68232d.zip
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.
Diffstat (limited to 'src/nvim/input.c')
-rw-r--r--src/nvim/input.c4
1 files changed, 2 insertions, 2 deletions
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 <Enter> or click with the mouse (q or empty cancels):");
+ prompt = _("Type number and <Enter> or click with the mouse (q or empty cancels): ");
} else {
- prompt = _("Type number and <Enter> (q or empty cancels):");
+ prompt = _("Type number and <Enter> (q or empty cancels): ");
}
}