This commit is contained in:
thrust26 2017-12-03 13:53:14 +01:00
parent faf9294fd2
commit 7c01418c29
1 changed files with 2 additions and 1 deletions

View File

@ -508,6 +508,8 @@ void PromptWidget::loadConfig()
// Show the prompt the first time we draw this widget // Show the prompt the first time we draw this widget
if(_firstTime) if(_firstTime)
{ {
_firstTime = false;
// Display greetings & prompt // Display greetings & prompt
string version = string("Stella ") + STELLA_VERSION + "\n"; string version = string("Stella ") + STELLA_VERSION + "\n";
print(version); print(version);
@ -528,7 +530,6 @@ void PromptWidget::loadConfig()
print(PROMPT); print(PROMPT);
_promptStartPos = _promptEndPos = _currentPos; _promptStartPos = _promptEndPos = _currentPos;
_firstTime = false;
_exitedEarly = false; _exitedEarly = false;
} }
else if(_exitedEarly) else if(_exitedEarly)