1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-06 04:53:38 -04:00
Commit Graph

18 Commits

Author SHA1 Message Date
Timo Sirainen
adb7eced39 Rewrote text buffer handling in windows - try #3.
/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-14 22:24:56 +00:00
Timo Sirainen
95c17bafc4 /LASTLOG: -case option for case-sensitive matches. -force option is now
required to print lastlogs longer than 1000 lines.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:45:35 +00:00
Timo Sirainen
6b4a838813 Moved /LASTLOG handling to lastlog.c. Added options -file <filename>
for writing lastlog to file, -window <ref#|name> for specifying which
window's lastlog to print (output is always to active window) and
-clear option to remove all lastlog lines from window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1255 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:23:04 +00:00
Timo Sirainen
bbc33bff5e /SET prompt, /SET prompt_window - Specifies the text in prompt.
'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-17 07:39:22 +00:00
Timo Sirainen
8ce36c05ea several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 21:40:07 +00:00
Timo Sirainen
e923b1651a /SCROLLBACK REDRAW - redraw the contents of current window according to
active formats, ie. changing theme changes scrollback.

It's still a bit buggy (can crash) with multiline formats, need to fix
it as soon as I figure out where the problem is..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@852 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21 03:00:05 +00:00
Timo Sirainen
d1330fff6d Text printing changes. Formats are now optionally saved to each line so
later if you used /format it would change the old lines too. However
the actual line changing doesn't work yet :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-12 20:20:05 +00:00
Timo Sirainen
78064ed161 Don't indent the next line when long word is split. Also we try not to
do any cursor movement so that terminals could notice that the word
continues to next line .. however terminfo or curses or something is
being stupid and breaks this anyway, with TERM=ansi it seems to work :)
also using gnome-terminal long URLs work right too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-29 00:35:28 +00:00
Timo Sirainen
e395e87ded Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26 15:39:44 +00:00
Timo Sirainen
08c6484b6b Using blinking/bright background colors would crash irssi..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@619 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-22 21:39:18 +00:00
Timo Sirainen
04c5baf637 Don't ever add \0\0 to text queue - this might break things. Use \0 +
LINE_CMD_COLOR0 instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@476 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 17:08:53 +00:00
Timo Sirainen
4faf4d1303 /SCROLLBACK HOME/END/GOTO commands weren't working right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:45:28 +00:00
Timo Sirainen
bc8848f965 /LAST -away checks only lines that came after last time you went away.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@355 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 23:00:52 +00:00
Timo Sirainen
84efea6a6a Remove line cache from memory after 10 minutes of inactivity.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@345 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 20:12:51 +00:00
Timo Sirainen
3fd3a03402 Beeps should work(?). ANSI colors had some bugs, bolds weren't working and
blinking crashed irssi.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 16:58:52 +00:00
Timo Sirainen
cbdaf7d06d Lots of changes again. Biggest ones:
- window's text buffer should work better
- themes are almost working, you can change the text formats with /format
- automatically try to rejoin the channel after 5 minutes if the join there
failed because it was "temporarily unavailable" (netsplits)
- generally cleaning code..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 08:25:45 +00:00
Timo Sirainen
d3dc9a1307 .. lots of changes ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04 10:32:42 +00:00
Timo Sirainen
c95034c6de ..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:03:38 +00:00