diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-05-01 21:47:44 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-05-04 21:06:32 +0200 |
commit | 25d7192677f8a415cd9ba94229d86aecb9ca5797 (patch) | |
tree | 06e42e2538b827d1b6e9b2aeb06eb3c9414decc9 /src/plugins/plugin-script.c | |
parent | bbbe83370f64b22306ab8606a4999c0bd9cb8015 (diff) | |
download | weechat-25d7192677f8a415cd9ba94229d86aecb9ca5797.zip |
api: don't split on newline by default in functions `command` and `command_options` when input_multiline is set to 0
The API functions `command` and `command_options` (when `split_newline` = 0,
which is the default value) don't split on newline and then the first line is
executed and the subsequent lines (after "\n") are ignored.
There are no changes when the input has multiple lines filled by the user: the
split is done and multiple commands are executed (for example if the user is
pasting multiple commands to execute).
Diffstat (limited to 'src/plugins/plugin-script.c')
0 files changed, 0 insertions, 0 deletions