This commit is contained in:
anon 2023-08-07 12:29:03 +02:00
parent 80b1edadc2
commit 02a50969f1
2 changed files with 43 additions and 2 deletions

View File

@ -88,3 +88,44 @@ c
c c
where where
frame 1 frame 1
where
b handle_input
c
n
p r
n
s
n
s
p next_page_cursor
p page_cursor
p do_turn
c
d 1
c
where
wa page_cursor
wa page_cursor
c
l
where
l
l
where
where
l
where
p curdispline
c
p curdispline
c
p curdispline
c
p curdispline
c
c
p curdispline
p page_cursor
c
p page_cursor
c

View File

@ -265,9 +265,9 @@ static inline void display_command_field(){
waddstr(winput, rl_line_buffer); waddstr(winput, rl_line_buffer);
} }
static inline void display_results(){
static long page_cursor = 0; /* signals where to output from */ static long page_cursor = 0; /* signals where to output from */
static long next_page_cursor = 0; static long next_page_cursor = 0;
static inline void display_results(){
int screenline; /* screen line number */ int screenline; /* screen line number */
int srctxtw; /* source line display width */ int srctxtw; /* source line display width */
int i; int i;
@ -527,7 +527,7 @@ display(void)
} }
if(window_change & CH_RESULT){ if(window_change & CH_RESULT){
werase(wresult); werase(wresult);
display_results(do_turn); display_results();
} }
if(window_change & CH_MODE){ if(window_change & CH_MODE){
werase(wmode); werase(wmode);