Skip to content

Commit

Permalink
Rewrote text buffer handling in windows - try #3.
Browse files Browse the repository at this point in the history
/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
  • Loading branch information
Timo Sirainen authored and cras committed Apr 14, 2001
1 parent d98fddd commit adb7ece
Show file tree
Hide file tree
Showing 20 changed files with 2,424 additions and 1,925 deletions.
10 changes: 7 additions & 3 deletions src/fe-text/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,19 @@ irssi_SOURCES = \
gui-expandos.c \
gui-printtext.c \
gui-readline.c \
gui-textwidget.c \
gui-windows.c \
lastlog.c \
mainwindows.c \
mainwindow-activity.c \
mainwindows-save.c \
screen.c \
statusbar.c \
statusbar-items.c \
textbuffer.c \
textbuffer-commands.c \
textbuffer-view.c \
irssi.c \
module-formats.c \
screen.c
module-formats.c

noinst_HEADERS = \
gui-entry.h \
Expand All @@ -44,5 +46,7 @@ noinst_HEADERS = \
mainwindows.h \
statusbar.h \
screen.h \
textbuffer.h \
textbuffer-view.h \
module.h \
module-formats.h
Loading

0 comments on commit adb7ece

Please sign in to comment.