mirror of
https://github.com/irssi/irssi.git
synced 2026-08-13 21:52:17 +02:00
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
This commit is contained in:
parent
59142d845d
commit
3eea03ccb8
4 changed files with 66 additions and 129 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue