summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-readline.c
AgeCommit message (Collapse)Author
2008-02-02Remove broken by design /set translation.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21Reindent.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4675 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21Simplify.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4674 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21Remove unneeded resets of paste_keycount (check_pasting will reset itEmanuele Giaquinta
at the next call). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4670 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21Move code to insert paste prompt into its own function.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-24Make alt/meta+arrow keys work in recent versions of xterm.Jilles Tjoelker
Bug #496 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25Add function to delete the whole cell under the cursor and use it forEmanuele Giaquinta
delete_character. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-28Increment paste_keycount when the key before the one that starts aEmanuele Giaquinta
possible pasting is not a '\r' or '\n'. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-28Ignore empty lines when pasting.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4466 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-28When sending a line as non-pasted reset also paste_entry, bug #405.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-07Bind also CSI 1 ; 5 D to key cleft and CSI 1 ; 5 C to key cright.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4440 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-02-01make negative scroll_page_count scroll screensize-n lines (Patch by Chris Moore)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-29Fixed a bug where tab-complete didn't worked with utf8/big5 multibyte ↵Valentin Batz
characters properly git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-18Fix warnings caused by r4043Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4046 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-18Fix delete_{next,previous}_word bindings, patch by Emanuele GiaquintaWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4043 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-27Implementation of the meta-[cult] (capitalize words, upcase word, downcase ↵Valentin Batz
word, transpose words) key-bindings from the TODO by Peder Stray git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-09Fixed bug where pasting is not using the character translation ↵Valentin Batz
(http://bugs.irssi.org/index.php?id=151) patch by Unknown Fixed a bug in scripts/autorejoin.pl so you can really use a space or a comma for separating the channels in /set autorejoin_channels Changed svn:mime-type of .pl and .sh files into the text/x- version, so you can diff them git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-24Fixes for Chinese multibyte characters handling and cursor movement, patchTimo Sirainen
by Wang WenRui git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23Added /SET paste_detect_keycount back. Pasting isn't detected until soTimo Sirainen
many keypresses have been detected as pasting. Also we don't anymore count repeated keypresses more than once. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23fixed /BIND escape_charTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-24add space between merged linesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3210 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19Added /SET paste_join_multiline - it attempts to be smart and detect whenTimo Sirainen
you're copy&pasting indented lines, and merge them together to one long line, but splits them to max. 400 chars per line. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19add pasted lines to command historyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-26If pasted line starts with command char, treat it as command always. PasteTimo Sirainen
detection can go on too easily with lagged connections. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-23Don't count linefeeds in paste detection to avoid it going on when holdingTimo Sirainen
enter key down git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-21Removed /SET paste_detect_keycount - don't really need it anymore.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-21pasting fixes. changed key to ^K from ^O since ^O is working strangely inTimo Sirainen
some systems.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3180 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17disabling paste detection works againTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17again changed the paste_detect defaults.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17paste texts are themeable now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17When pasting to empty window, don't ask about if pasting was wanted or not.Timo Sirainen
Also paste them as commands, not as text to active (non-existing) channel/query. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17paste detection fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17more initializing..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17initialize prev_entryTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16paste detection growed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16pasting fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16If pasting more lines than /SET paste_verify_line_count, ask before doingTimo Sirainen
it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16changed /set pster_detect_keycount 5 -> 6 to fix function keysTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16Added pasting detection. All keys except CR and LF are pasted as-is intoTimo Sirainen
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-10-26BIG5 stuff is used only if term_type is big5Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-19BIG5 fixes by vanilla@FreeBSD.org(?)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3134 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11fixes to allow you to register a new keyboard redirection inside aTimo Sirainen
redirection handler. patch by c0ffee. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-05Added "gui key pressed" signal which is sent every time a key is pressed.Timo Sirainen
The parameter is non-translated key received from terminal, so control keys may create multiple keypress signals (eg. home == ESC, [, H). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2985 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14window->active_server used to hold non-connected servers, but that wasTimo Sirainen
removed before because it created several problems, especially with scripts. however that change made /server and /disconnect annoying to use with non-connected servers. so, now we have window->connect_server as well. either active_server or connect_server is set, but never both. commands that can deal properly with non-connected servers can now use the connect_server, while everyone else happily thinks that no server is active. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2921 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-07Empty lines can be now sent to /EXEC -interactive windows.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06Added default meta-d = delete_next_wordTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2840 dbcabf3a-b0e7-0310-adc4-f8d773084564