1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +02:00

api: add property keep_spaces_right in function hook_set to keep trailing spaces in command arguments

This commit is contained in:
Sébastien Helleu
2025-02-15 20:31:11 +01:00
parent 3c9eb6dcac
commit e89d6d69ad
12 changed files with 126 additions and 46 deletions
+5
View File
@@ -66,6 +66,11 @@ struct t_hook_command
/* concatenation of arg N for each template */
int cplt_template_num_args_concat; /* number of concatenated arguments */
char **cplt_template_args_concat; /* concatenated arguments */
/* other features */
int keep_spaces_right; /* if set to 1: don't strip trailing */
/* spaces in args when the command */
/* is executed */
};
struct t_hook_command_similar