From 35785a5e053e0ccd4ec36d67f2a374ce1c0673d0 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 9 Mar 2012 10:41:13 +0100 Subject: core: improve and fix bugs on standard paste and bracketed paste Changes: - wait control sequence for end of bracketed paste (and only after, check if we should ask confirmation to user) - add option weechat.look.paste_bracketed_timer_delay to force the end of bracketed paste if the control sequence for end of bracketed paste was not received in time - in bracketed paste mode, with paste_max_lines=1, do not ask confirmation for one line (ask for one line only if paste_max_lines=0) - fix bugs with mintty: bracketed paste should be ok every time (even if some codes are sometimes partially received, WeeChat will now handle that properly); the standard paste often fails (due to bug in mintty, which sends paste very slowly to remote app); so the bracketed paste mode is highly recommended with mintty - after paste in bracketed paste mode, the undo key (ctrl+"_" by default) will undo whole paste, not chars one by one --- doc/it/autogen/user/weechat_options.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/it/autogen/user') diff --git a/doc/it/autogen/user/weechat_options.txt b/doc/it/autogen/user/weechat_options.txt index 77a515038..9664bea49 100644 --- a/doc/it/autogen/user/weechat_options.txt +++ b/doc/it/autogen/user/weechat_options.txt @@ -583,10 +583,15 @@ ** tipo: bool ** valori: on, off (valore predefinito: `off`) +* [[option_weechat.look.paste_bracketed_timer_delay]] *weechat.look.paste_bracketed_timer_delay* +** descrizione: `force end of bracketed paste after this delay (in seconds) if the control sequence for end of bracketed paste ("ESC[201~") was not received in time` +** tipo: intero +** valori: 1 .. 60 (valore predefinito: `10`) + * [[option_weechat.look.paste_max_lines]] *weechat.look.paste_max_lines* ** descrizione: `max number of lines for paste without asking user (-1 = disable this feature)` ** tipo: intero -** valori: -1 .. 2147483647 (valore predefinito: `3`) +** valori: -1 .. 2147483647 (valore predefinito: `1`) * [[option_weechat.look.prefix_action]] *weechat.look.prefix_action* ** descrizione: `prefisso per i messaggi di azione` -- cgit v1.2.3