]> code.citadel.org Git - citadel.git/commit
HUGE update to the way the paginator works. scr_putc() now keeps track of how many...
authorArt Cancro <ajc@citadel.org>
Thu, 2 Sep 2010 17:32:55 +0000 (13:32 -0400)
committerArt Cancro <ajc@citadel.org>
Thu, 2 Sep 2010 17:32:55 +0000 (13:32 -0400)
commit37e231558b6237dd65536db3f66f7e3495f59030
tree6ba66916b72e4c351fe8fda2cc2838eb74e19edf
parentb23a74210ae96ab3e2b22961099b39fad1f825b9
HUGE update to the way the paginator works.  scr_putc() now keeps track of how many characters and
lines it has written, issuing the paginator prompt when it knows it needs to.  scr_getc() resets the
line count to zero.  This completely eliminates the need for individual functions to keep track of
their line count, simplifying a lot of code throughout the system.  Why didn't I do it this way 20
years ago?  TODO: use the server issued paginator prompt instead of a hardcoded string.
citadel/include/commands.h
citadel/textclient/citadel.c
citadel/textclient/commands.c
citadel/textclient/messages.c
citadel/textclient/rooms.c
citadel/textclient/rooms.h
citadel/textclient/routines.c
citadel/textclient/routines2.c
citadel/textclient/screen.c
citadel/textclient/screen.h
citadel/textclient/tuiconfig.c