mirror of https://github.com/stella-emu/stella.git
fixed #239
This commit is contained in:
parent
faf9294fd2
commit
7c01418c29
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue