summaryrefslogtreecommitdiff
path: root/src/fe-text/term.c
AgeCommit message (Collapse)Author
2014-06-30Finish 256 colour support for IrssiAilin Nemui
256 colour patch is cleaned up and the remaining cases are made work, this includes especially Theme support, which was not implemented before. Changes not related to colours were reverted again, making a review of the two patches against master easier to follow. As a byproduct of the Hex-colour code parser, the 24bit colours are also implemented. Actually using them in the terminal is guarded by a compile time switch (as well as a run time switch), as it breaks the existing colour protocol and requires additional storage. To make a seamless usage, down-conversion is provided for 8 and 16 colours. Diverging from Tom's approach, the colour protocol is reverted back to the original one. Unfortunately, the changes required in the Theme engine will break the API. For more details, please refer to the patch documentation at either http://irssi-docs.wikispaces.com/Notes-256-Colour or https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour
2008-05-14Use g_get_charset to check if the locale codeset is UTF-8.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4822 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-19Remove non-working detach/attach code.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4806 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09Use g_ascii_str{,n}casecmp for case insensitive comparison withEmanuele Giaquinta
ascii only strings. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 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
2004-09-15Fixed memleak in recode.c, fixed typo in special_vars.txt, fixed bug 105, ↵Valentin Batz
fixed bug 106 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-20Recode patch by decadix/sennethTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28Added /REDRAW command that does the same as ^L.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3081 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01Moved setlocale() at the beginning of initialization, should fix regexpTimo Sirainen
crashes with non-C locale. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13don't use TIOCGWINSZ terminal size if it returns only 0x0.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2788 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-08/SET mirc_blink_fix - if ON, the bright/blink bit is stripped from MIRCTimo Sirainen
colors. Set this to ON, if your terminal shows bright background colors as blinking. Patch by pv2b git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2539 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-15Disable the nl_langinfo() if CODESET isn't defined (openbsd).Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2458 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15UTF-8 is now automatically used if locale is set properly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2451 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-01-29Preliminary support for UTF8 with /SET term_utf8 ON. Input line is stillTimo Sirainen
messed up, but lines should wrap properly in text buffer. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2354 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-11-27/SET term_force_colors was broken.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2154 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20/SET colors OFF should work even if /SET term_force_colors is ONTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2131 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-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-28color forcing stuff left from previous commitTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1927 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