/[jscoverage]/trunk/js/editline/editline.c
ViewVC logotype

Diff of /trunk/js/editline/editline.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 459 by siliconforks, Thu Oct 23 19:03:33 2008 UTC revision 460 by siliconforks, Sat Sep 26 23:15:22 2009 UTC
# Line 160  Line 160 
160  #include <curses.h>  #include <curses.h>
161  #include <term.h>  #include <term.h>
162  #endif  /* defined(USE_TERMCAP) */  #endif  /* defined(USE_TERMCAP) */
163    
164  /*  /*
165  **  TTY input/output functions.  **  TTY input/output functions.
166  */  */
# Line 301  Line 301 
301          TTYrows = SCREEN_ROWS;          TTYrows = SCREEN_ROWS;
302      }      }
303  }  }
304    
305    
306  STATIC void  STATIC void
307  reposition()  reposition()
# Line 515  Line 515 
515      rl_meta_chars = ! rl_meta_chars;      rl_meta_chars = ! rl_meta_chars;
516      return redisplay();      return redisplay();
517  }  }
518    
519    
520  STATIC CHAR *  STATIC CHAR *
521  next_hist()  next_hist()
# Line 966  Line 966 
966          case CSstay:          case CSstay:
967              break;              break;
968          }          }
969        if (strlen(Line))
970            return Line;
971        free(Line);
972      return NULL;      return NULL;
973  }  }
974    
# Line 1052  Line 1055 
1055  #endif  /* defined(UNIQUE_HISTORY) */  #endif  /* defined(UNIQUE_HISTORY) */
1056      hist_add((CHAR *)p);      hist_add((CHAR *)p);
1057  }  }
1058    
1059    
1060  STATIC STATUS  STATIC STATUS
1061  beg_line()  beg_line()

Legend:
Removed from v.459  
changed lines
  Added in v.460

  ViewVC Help
Powered by ViewVC 1.1.24