diff options
author | Alexander Færøy <ahf@irssi.org> | 2010-02-27 14:57:16 +0000 |
---|---|---|
committer | ahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2010-02-27 14:57:16 +0000 |
commit | 3eea03ccb81578fac0cb677d419c8176c5e30078 (patch) | |
tree | 3f828d29c49795dc2ff2ffae61e763548c938634 /src/fe-text/term.h | |
parent | 59142d845df4551530561b8dfe78c3f468764679 (diff) | |
download | irssi-3eea03ccb81578fac0cb677d419c8176c5e30078.zip |
Irssi now detects a paste if it reads at least three bytes in a single read;
subsequent reads are associated to the same paste if they happen before
'paste_detect_time' time since the last read. If no read occurs after
'paste_detect_time' time the paste buffer is flushed; if there is at least one
complete line its content is sent as a paste, otherwise it is processed
normally.
Thanks to Emanuele Giaquinta.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5121 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/term.h')
-rw-r--r-- | src/fe-text/term.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/term.h b/src/fe-text/term.h index d0cc637f..27174c83 100644 --- a/src/fe-text/term.h +++ b/src/fe-text/term.h @@ -81,7 +81,7 @@ void term_stop(void); /* keyboard input handling */ void term_set_input_type(int type); -void term_gets(void); +void term_gets(GArray *buffer, int *line_count); /* internal */ void term_common_init(void); |