summaryrefslogtreecommitdiff
path: root/src/fe-text/screen.c
AgeCommit message (Collapse)Author
2001-10-29not needed anymore, code is in term*.[ch] now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24Reset QUIT and INTR keys at quit.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1909 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23Using cbreak() mode again, but disable QUIT and INTR keys.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1902 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20When resizing terminal smaller, destroy some split windows if they don't fitTimo Sirainen
into screen otherwise. Also, irssi doesn't crash anymore or mess up the screen even if terminal is resized to 1x1 size (not sure of 0x0, my terminal doesn't resize that small, and maybe I shouldn't bother with it anyway :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1855 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-10Disabled using idcok() which caused redrawing problems with netbsd.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1782 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-28Added command /RESIZE for resizing the terminal when SIGWINCH isn't supported.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29Resize fixes. Now SIGWINCH only sets a flag that a resize check is needed.Timo Sirainen
Resizes are checked/done 2 times a second. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1671 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-06-01moved /SET ignore_signals to core.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1534 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-17cbreak() -> raw() - this fixes at least the Ctrl-4 abort.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1499 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-03-15Beginnings of configurable statusbar. The existing items can be configuredTimo Sirainen
in default.theme. If some abstract isn't set in theme, it fallbacks to the one in default.theme now. This should help with old themes, and maybe themes that don't change something should just keep those parts commented out.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10theme->default_color is now used again, added default_bold_color whichTimo Sirainen
is used with default bolds since A_NORMAL|A_BOLD doesn't seem to do anything with curses.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15screen resizing fixes when resizeterm() isn't supportedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18Win32 fixes - Irssi now compiles with MSVC++ :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-10Use nodelay() instead of halfdelay()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@831 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27use sigaction() instead of signal(). With some OSes the signal handlerTimo Sirainen
is set back to default after each time signal is raised if signal() is used (by norpan). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@790 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-08-10Topic bar doesn't get erased anymore after resize.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@582 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10Still some fixes for curseses without wresize() or resizeterm().Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@579 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-27We want to ignore SIGPIPE *ALWAYS*, don't set it back to SIG_DFL.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@545 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26Mainwindows use now real curses WINDOWs, this should fix irssi with someTimo Sirainen
curseses that didn't like setscrreg() (solaris 8). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04Don't redraw screen after EVERY /SET, just when /SET colors has changed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@424 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-05Maybe I should have tried to run irssi after the ignore_signals "fix" ..Timo Sirainen
now really fixed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@297 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-05ignore_signals setting wasn't read at startup..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@296 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01Or actually :) SIGINT shouldn't be ignored, it's used to detect Ctrl-C...Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@269 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01Removed "ignore_sigquit" and added "ignore_signals" instead. You can ignoreTimo Sirainen
signals: hup, int, quit, term, pipe, alrm, usr1, usr2 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01"ignore_sigquit" setting - when enabled, ignore SIGQUIT signals. ncursesTimo Sirainen
does this when pressing ctrl-4. With some terminals, there's no meta key and you'll have to use ctrl-3 instead which is pretty close to 4.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@267 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04.. lots of changes ..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26..adding new files..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564