display/source/CursesDisplay.cpp
// Clear the message buffer and reset the cursor.  The message buffer is always lines 0 and 1.
Clear the message buffer and reset the cursor.  The message buffer is always lines 0 and 1.
Clear the message buffer and reset the cursor . The message buffer is always lines 0 and 1 .
int CursesDisplay::clear_message_buffer()
{  
  int return_val;
  WINDOW* screen = get_message_buffer_screen();
  wmove(screen, 0, 0);
  wclrtoeol(screen);
  wmove(screen, 1, 0);
  return_val = wclrtoeol(screen);
  MSG_BUFFER_LAST_Y = 0;
  MSG_BUFFER_LAST_X = 0;
  wmove(screen, MSG_BUFFER_LAST_Y, MSG_BUFFER_LAST_X);
  return return_val;
}
int CursesDisplay :: clear_message_buffer ( ) { int return_val ; WINDOW * screen = get_message_buffer_screen ( ) ; wmove ( screen , 0 , 0 ) ; wclrtoeol ( screen ) ; wmove ( screen , 1 , 0 ) ; return_val = wclrtoeol ( screen ) ; MSG_BUFFER_LAST_Y = 0 ; MSG_BUFFER_LAST_X = 0 ; wmove ( screen , MSG_BUFFER_LAST_Y , MSG_BUFFER_LAST_X ) ; return return_val ; }
Clear the message buffer and reset the cursor.
Clear the message buffer and reset the cursor .
// Reset the internal state // Reset cursor to original position