summaryrefslogtreecommitdiff
path: root/src/core/wee-config.c
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-08-20 14:36:12 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-03-25 18:53:12 +0100
commit3e331d37726a18cc4f58e700683768fe2ea9d37a (patch)
tree713c308c65aa65f584075acea58e7702be3506c4 /src/core/wee-config.c
parentd15203dbf544a4c272c55dbe48213a924d0e1f42 (diff)
downloadweechat-3e331d37726a18cc4f58e700683768fe2ea9d37a.zip
core: Increase default value for paste_max_lines to 100
Now that pasting text doesn't cause it to be sent immediately, but rather inserted in the input line, the paste confirmation isn't really necessary anymore for small pastes. If you paste by mistake you can just press ctrl-_ to undo it. Large pastes may cause weechat to hang for a while, so keep the paste confirmation for those. If you don't use bracketed paste you would still want to keep it at 1, because it's not detected as a paste otherwise, but as far as I know basically all terminal emulators support bracketed paste, so I think it's fine to disable the confirmation by default.
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r--src/core/wee-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index 467e9e6fc..7b24f68fc 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -3574,7 +3574,7 @@ config_weechat_init_options ()
"(-1 = disable this feature); this option is used only if the bar "
"item \"input_paste\" is used in at least one bar (by default it "
"is used in \"input\" bar)"),
- NULL, -1, INT_MAX, "1", NULL, 0,
+ NULL, -1, INT_MAX, "100", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_prefix[GUI_CHAT_PREFIX_ERROR] = config_file_new_option (
weechat_config_file, weechat_config_section_look,