FACT++  1.0
bool Readline::DumpHistory ( )
static

Displays the current history on rl_outstream

rl_outstream can be redirected using SetStreamOut()

Returns
always true

Definition at line 897 of file Readline.cc.

Referenced by ReadlineColor::Process(), Process(), and SetSection().

898 {
899  HIST_ENTRY **next = history_list();
900 
901  if (!next)
902  return true;
903 
904  for (; *next; next++)
905  fprintf(rl_outstream, "%s\n", (*next)->line);
906 
907  return true;
908 }

+ Here is the caller graph for this function: