src/core/CliConsole.js
// Displays the prompt, current input, and positions  the cursor.
Displays the prompt, current input, and positions  the cursor.
Displays the prompt current input and positions the cursor .
function showPrompt(reprompt) {
      if (inNode) {
          promptVisible = true;
          if (partialOutputLine) {
            out(NL); 
            partialOutputLine = false;
          }
          setLineOffset(0);
          if (!self.mute) {
            cursor.eraseLine();
            out(self.prompt);
            cursor.show();
          }
      }
      else {
        updateBrowserPrompt();
      }
      return self;
    }
function showPrompt ( reprompt ) { if ( inNode ) { promptVisible = true ; if ( partialOutputLine ) { out ( NL ) ; partialOutputLine = false ; } setLineOffset ( 0 ) ; if ( ! self . mute ) { cursor . eraseLine ( ) ; out ( self . prompt ) ; cursor . show ( ) ; } } else { updateBrowserPrompt ( ) ; } return self ; }
Displays the prompt, current input, and positions  the cursor.
Displays the prompt current input and positions the cursor .
/* istanbul ignore else */ //      if (!promptVisible || reprompt) { // Always goes to the next line. //mm.log('showPrompt( xxxxxxxxxxxxxxxxxxxxxxxxx', self.prompt, self.mute);           //cursor.red(); //      }