🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Joe Koenig Wed, 26 Nov 2003 09:27
[slrn] alternative to redraw()?
#138243
Author: Joe Koenig
Date: Wed, 26 Nov 2003 09:27
22 lines
1616 bytes
I wrote a short slang-function which enables me to keep the cursor in
the middle of the header display.  I.e.: my header display shows 14
lines and the cursor never moves beyond line 7.  The small drawback:
As I'm using   call("redraw")   the screen is flickering a little bit
each time I jump to a new article.  Is there a better way to do this?


static define article_page_down ()
{
	if (get_next_art_pgdn_action () == 2){
		message(" -- That's All Folks --");
	}else if (get_next_art_pgdn_action () == 0){
	 	call ("article_page_down");
	}else if(header_cursor_pos () >= 7){
		header_down(7);
		call("redraw");
		header_up(7);
		call("next");
	}else{
		call("next");
	}
}
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads