anon 10 months ago
parent
commit
02a50969f1
2 changed files with 43 additions and 2 deletions
  1. +41
    -0
      .gdb_history
  2. +2
    -2
      src/display.c

+ 41
- 0
.gdb_history 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

+ 2
- 2
src/display.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);


Loading…
Cancel
Save