1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00
irssi/src/fe-text
Timo Sirainen d79cc02a10 Added pasting detection. All keys except CR and LF are pasted as-is into
prompt in pasting mode.

/SET paste_detect_time controls how closely each others characters must
occur for it to be considered pasting. Pasting mode goes on after /SET
paste_detect_keycount characters have been received and detected as pasting.

The first paste_detect_keycount characters can also contain some command
characters. They are executed, but their action in entry line is reverted
once pasting is detected. Of course, if any such character was followed by
CR/LF, it was already sent to channel/query and is unreversable.

What this means in practise is that even if you have TABs (assuming TAB is
completion key) in the first few pasted characters, they get pasted as TABs
as long as they weren't immediately followed by CR/LF.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3153 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 19:37:31 +00:00
..
.cvsignore ..and cvsignores for new binaries.. 2000-06-02 01:59:19 +00:00
gui-entry.c BIG5 stuff is used only if term_type is big5 2003-10-26 05:31:19 +00:00
gui-entry.h BIG5 fixes by vanilla@FreeBSD.org(?) 2003-10-19 19:09:51 +00:00
gui-expandos.c /SET term_type 8bit|utf8|big5 - Removed --with-big5 configure option, it's 2002-02-15 13:38:24 +00:00
gui-printtext.c day -> 1day, hour -> 1hour 2002-12-29 16:02:49 +00:00
gui-printtext.h Added support for changing indentation behaviour with modules. 2001-10-24 22:52:15 +00:00
gui-readline.c Added pasting detection. All keys except CR and LF are pasted as-is into 2003-11-16 19:37:31 +00:00
gui-readline.h Since I accidentally already committed some of the detach-code, here's the 2001-12-17 23:01:12 +00:00
gui-windows.c /SET term_type 8bit|utf8|big5 - Removed --with-big5 configure option, it's 2002-02-15 13:38:24 +00:00
gui-windows.h Added support for changing indentation behaviour with modules. 2001-10-24 22:52:15 +00:00
irssi.c didn't compile without gc 2003-01-25 21:19:41 +00:00
lastlog.c /last -clear removes now the "lastlog would print x lines, ... use -force" 2002-11-29 13:53:44 +00:00
mainwindow-activity.c removed some unused includes 2001-04-01 00:25:47 +00:00
mainwindows-layout.c Comments are now allowed everywhere in config files. 2002-02-02 17:37:44 +00:00
mainwindows.c Crashfix when sometimes closing a split window. 2003-07-09 21:46:08 +00:00
mainwindows.h Redrawing fixes - irssi should now rarely redraw stuff uselessly in screen. 2001-10-28 18:40:12 +00:00
Makefile.am moved ncurses/terminfo/etc. libs away from PROG_LIBS which should be list of 2002-08-26 23:58:59 +00:00
module-formats.c added %# to a few "/window" lines. 2002-04-28 11:30:31 +00:00
module-formats.h Show window's scroll state with /WINDOW. 2002-02-22 13:12:33 +00:00
module.h /SET term_type 8bit|utf8|big5 - Removed --with-big5 configure option, it's 2002-02-15 13:38:24 +00:00
statusbar-config.c Added /STATUSBAR # RESET command for removing the whole statusbar block from 2002-02-16 15:10:27 +00:00
statusbar-config.h Configurable statusbar - see default config file (irssi.conf) for example 2001-10-13 16:11:13 +00:00
statusbar-items.c lag_min_show should default to 1 sec, not 0.1sec 2002-12-31 12:36:56 +00:00
statusbar.c statusbar is now also updated for connecting-servers. 2002-09-14 23:23:57 +00:00
statusbar.h bit fields should be unsigned type always (unsigned int dirty:1). 2002-03-13 03:23:38 +00:00
term-curses.c --disable-terminfo didn't work 2002-02-17 15:42:07 +00:00
term-dummy.c Separate irssi-dummy binary was a bit stupid idea, now it can be started with -d command line parameter. 2001-12-17 18:41:06 +00:00
term-terminfo.c BIG5 fixes by vanilla@FreeBSD.org(?) 2003-10-19 19:09:51 +00:00
term.c Added /REDRAW command that does the same as ^L. 2002-12-28 18:19:34 +00:00
term.h Get the terminal size at startup with ioctl() and use it. Fixes at least 2002-03-14 23:46:48 +00:00
terminfo-core.c Scrolling was buggy with "ri" method, it tried to used "rin" as well 2002-03-14 23:33:33 +00:00
terminfo-core.h Removed /SET term_scroll_fast - looks like il/dl commands work fine with 2001-11-16 10:05:21 +00:00
textbuffer-commands.c /SB END: if we're already at the end of buffer don't redraw it. 2002-11-19 12:02:56 +00:00
textbuffer-reformat.c A few fixes to make irssi work with garbage collected GLIB. 2002-12-10 17:31:26 +00:00
textbuffer-reformat.h /SB REDRAW functionality - not fully working yet. 2001-07-15 13:13:46 +00:00
textbuffer-view.c BIG5 stuff is used only if term_type is big5 2003-10-26 05:31:19 +00:00
textbuffer-view.h Preliminary support for UTF8 with /SET term_utf8 ON. Input line is still 2002-01-29 01:33:41 +00:00
textbuffer.c Don't access free'd memory. 2002-12-30 23:10:57 +00:00
textbuffer.h Comment changes 2002-01-27 20:42:45 +00:00
tparm.c since common.h wasn't included in this, changed i_isdigit() -> isdigit() 2002-02-08 22:09:39 +00:00
utf8.c Some changes to make doublewidth chars possibly work (or possibly horribly 2002-10-14 18:33:29 +00:00
utf8.h BIG5 fixes by vanilla@FreeBSD.org(?) 2003-10-19 19:09:51 +00:00