summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-readline.c
AgeCommit message (Collapse)Author
2002-02-10/BIND meta-k erase_completion - support for removing completion data.Timo Sirainen
Currently this works only with /MSG completion, so eg. /MSG nick <meta-k> removes nick from completion list and jumps to next completion. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2407 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02Add ^H and ^? as "backspace" key, so you can use meta-backspace etc.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2370 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added command history groups, set them with /WINDOW HISTORY. Patch by ↵Timo Sirainen
peder@ifi.uio.no git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Still some #include "servers.h"s ..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-19Hidden entry texts shouldn't have gone to command history..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2269 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17Since I accidentally already committed some of the detach-code, here's theTimo Sirainen
rest of it. It doesn't really work, you can make irssi detached but you can't attach to it anymore :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17if window-specific history is off, the command that closed the window shouldTimo Sirainen
go in the command history. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2267 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11If window specific history was on and command changed a window, the commandTimo Sirainen
was saved in wrong window's buffer. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2239 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Specified "cleft" and "cright" for ctrl-left/right keys. Added xterm'sTimo Sirainen
keycodes for them. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2111 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19With /SET window_auto_change ON, irssi might have crashed if input entry wasTimo Sirainen
not visible at that time. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2085 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Removed GLib error when doing /RELOAD.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2076 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18Don't handle keypresses when there's no active entry in screen.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2059 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03Quit if terminal gets lost.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28term_getch() -> term_gets() which can be used to read multiple keypresses atTimo Sirainen
once. Also fixes keyboard not working with netbsd. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1935 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28Added support for using terminfo/termcap instead of curses. By default,Timo Sirainen
configure chooses to use ncurses if found, of terminfo if only curses was found. --with-terminfo parameter can be used to specify if you want it or not. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-27When scrolling window with eg. scroll_page_count /2, irssi didn'tTimo Sirainen
remove window's statusbars lines when calculating number of lines to scroll. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25forward_word and backward_word now move only to next/prev non-alphanumeric ↵Timo Sirainen
character. added forward_to_space and backward_to_space. transpose_characters moves the cursor to right. patch by peder@linpro.no. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1920 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14Fixed some memory leaks.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1837 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14fixed a minor memleakTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14delete_previous_word and delete_next_word now deletes only untilTimo Sirainen
non-alphanumeric character is found. added delete_to_next_space command. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1833 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14Window-statusbars are created correctly with /RELOAD, some input lineTimo Sirainen
fixes related to /RELOAD. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1831 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13Configurable statusbar - see default config file (irssi.conf) for exampleTimo Sirainen
how to configure it. Added %> format which clears to end of line using the current bg color. Added support for multiple input lines (just the core, not used anywhere yet). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11It's now possible to stop single character /BINDs from printing to inputTimo Sirainen
line. Hiascii characters didn't work properly with /BIND. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01Replaced all direct curses calls with screen_xx() wrappers. This shouldTimo Sirainen
enable us to optionally use termcap directly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1535 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17raw() mode also disabled SIGINT == ^C, so remove the 5x^C = SIGTERM.Timo Sirainen
Also use sigaction() instead of signal() with /SET ignore_signals. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1500 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17KEY_RESIZE isn't defined in all curseses, #ifdef itTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1498 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11updated /BIND help, removed special_char bind command and added insert_text.Timo Sirainen
It can be used to add text to entry line, $variables also works with it (eg. /BIND ^T /TOPIC $topic) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1476 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11KEY_RESIZE is sent when screen is resized, ignore it.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-06keyboard handling rewriteTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14Rewrote text buffer handling in windows - try #3.Timo Sirainen
/SET scrollback_save_formats + /SB REDRAW is broken currently. There's some other minor things that might need to be changed. This time it allows the same window to be visible multiple times in screen, like you could make a new split window where to scroll back and find something while still seeing the new messages at the other window, this however doesn't work yet but it should be quite easy to make it :) I've tested that pretty much everything should work with this, new lines can be added at any position and lines can be removed from any position and screen should be updated properly. Screen resizing should also work perfectly now (maybe it did previously too, not sure) and hopefully now we won't see any of those ugly strange bugs some people were having. Also this time the same code isn't written 2-3 times to do some specific thing, like scrolling has now only one view_scroll() function instead of the 3 separate functions it used to have :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-01removed some unused includesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08/SET scroll_page_count - don't crash if /0 is given. Works now properlyTimo Sirainen
if /0.xx is given. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1364 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04"command window prev" -> "command window previous"Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03delete_next_word key implemented, patch by TinukTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10added descriptions for left_window and right_windowTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10/WINDOW STICK [ON|OFF|<ref#>] - stick window to specified main window.Timo Sirainen
After setting window to sticky non-sticky windows can't replace the active sticky one. Each main window can have it's own sticky window group. /WINDOW LEFT, /WINDOW RIGHT - Go to previous/next window in the current sticky window group, or if there's no sticky windows go to previous/next non-sticky window. Alt-Left/Right keys default to these commands now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05/BIND comment updatesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04Added keyboard_entry_redirect() function to keyboard.[ch] which sendsTimo Sirainen
the signal "gui entry redirect" signal. Added possibility to keep the entry hidden. /OPER [<nick> [<password>]] - syntax changed. If password isn't given, it's asked. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17/SET prompt, /SET prompt_window - Specifies the text in prompt.Timo Sirainen
'prompt' is used when channel or query is active in window and 'prompt_window' is used with empty windows. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04Use GIOChannel instead of sockets directly. Helps porting to win32 :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04/SET scroll_page_count - how many lines to scroll with pgup/pgdn. eitherTimo Sirainen
an absolute value, or if the count starts with '/', it's calculated as lines_in_screen/count, default is /2. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26KEY_END isn't defined in all curses implementationsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23more warning fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] toTimo Sirainen
fe-windows.[ch] git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-11Ctrl-T = transpose_charactersTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@833 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-08--disable-curses-windows option to configureTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01Keyboard should never get stuck again when receiving huge amounts ofTimo Sirainen
text from server that irssi doesn't handle fast enough. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Lots of moving stuff around - hopefully I didn't break too much :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-19Parameters to key_bind() with scroll_end was given in wrong order.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@615 dbcabf3a-b0e7-0310-adc4-f8d773084564