summaryrefslogtreecommitdiff
path: root/src/fe-text/term-terminfo.c
AgeCommit message (Collapse)Author
2006-09-20Fix bold on monochrome terminals.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4373 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-23replace guint by gsize for the glib2 version of irssi_ssl_readValentin Batz
like it's defined in GIOFuncs for glib2 moved src/fe-text/utf8.* to src/fe-common/core changed get_utf8_char so it returns a status code and the unichar argument pointer to the value that it returned before if there were no errors, so you can check for a negative value an handle the error git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4091 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-07-17Handle ^Z better (debian/patches/03sigtstp.dpatch by David Pashley, ↵Wouter Coekaerts
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=177108) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-05-14Pasting multibyte chars was buggy, patch by Kuang-che WuTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3251 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
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-05-12some optimizations to not uselessly hide/show/move cursor - hope i didn'tTimo Sirainen
break anything :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10more fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2765 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10another terminfo fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2764 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-06fixed buffer overflow - happened at least when hitting ^A after writingTimo Sirainen
enough text to input line. usually didn't crash.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16term_deinit() should set SIGCONT back to default, so if it's sent after thatTimo Sirainen
it won't crash (gnome-terminal does that for some reason) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2623 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14Get the terminal size at startup with ioctl() and use it. Fixes at leastTimo Sirainen
NetBSD. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2616 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10whops, stupid utf-8 bug :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10term_addch() : utf-8 fixes for cursor positioning.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2563 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09Irssi didn't work properly if read() returned only partial utf8 characterTimo Sirainen
string. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17compiler warning fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17--disable-terminfo didn't workTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2502 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15/SET term_type 8bit|utf8|big5 - Removed --with-big5 configure option, it'sTimo Sirainen
now included the same way as utf8, though i'm not sure if it really works but at least it should partially :) Input line is now internally using 32bit chars but it's converted to 8bit chars for external use. Text buffer supports only 8bit + utf8 for now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2448 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10atexit(term_deinit)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2424 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10term_clear() should set the background color to RESET, not to 0 (black).Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2417 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-04Never print the last character in screen, this may break some terminals ↵Timo Sirainen
(cygwin at least). term_addstr() now uses const char * instead of char * parameter. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2192 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29When /SET colors is OFF, irssi displays all non-default background colors as ↵Timo Sirainen
reversed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18term_refresh(): Change the color to black after everything is done. It'sTimo Sirainen
annoying when the color usually was left to the statusbar's color and when ssh connection to irssi dropped, the terminal's background changed to blue.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2064 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16Removed /SET term_scroll_fast - looks like il/dl commands work fine withTimo Sirainen
scrolling region at least in xterm and linux console, so it looks nice and is fast. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2028 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15/SET force_colors -> /SET term_force_colors. Added /SET term_scroll_fastTimo Sirainen
option to specify if we want to scroll with fastest method, or the cleanest method. The default is cleanest and it looks best with xterm, with some other terminals where line-by-line scroll is slow, you might want to use the fast scrolling. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2015 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15Scrolling should dirty the whole scrolling area, not just the new lines.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2014 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03Virtualized cursor movement and clearing to end of line. Now neither is doneTimo Sirainen
unless really needed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1966 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03Reset the color before clearing screen. Set the cursor invisible when movingTimo Sirainen
around in screen and set it visible again when it's in wanted position. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1964 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-29bug in last commit :) background color was brokenTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29when colors aren't used, don't save last_fg and last_bg. This helps at least ↵Timo Sirainen
clrtoeol(). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29terminfo's term_clrtoeol() uses the clrtoeol() command only when using the ↵Timo Sirainen
default colors. otherwise it just goes and fills the line with spaces. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1941 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-28Some resize fixes. With terminfo + /SET indent_always OFF, doubleclickingTimo Sirainen
long words (URLs mostly) that get split into two lines, selects the word fully. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28Redrawing fixes - irssi should now rarely redraw stuff uselessly in screen.Timo Sirainen
Most of the code now just marks the window/statusbar/etc. as dirty, and lets the dirty-checker handle it later. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1926 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