Example #1
0
void
octave_rl_clear_screen (int skip_redisplay)
{
  int ignore1 = 0;
  int ignore2 = 0;

  if (skip_redisplay)
    {
      rl_voidfunc_t *saved_redisplay_function = rl_redisplay_function;

      rl_redisplay_function = flush_stdout;

      rl_clear_screen (ignore1, ignore2);

      rl_redisplay_function = saved_redisplay_function;
    }
  else
    rl_clear_screen (ignore1, ignore2);
}
void SearchTreeBrowser::showPrompt() const
{
	rl_clear_screen(0, 0);
	std::cout << std::endl << "Press <Q> to exit browse mode." << std::endl
			  << "Use arrow key to move node." << std::endl;
}