mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
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.
This commit is contained in:
@@ -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): ");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user