common console: also show prompt, if the engine wrote onto gui console since last call - fixes sci breakpoints
svn-id: r50449
This commit is contained in:
parent
0e7ccb896d
commit
0a58cdb6e9
1 changed files with 3 additions and 1 deletions
|
@ -156,7 +156,9 @@ void ConsoleDialog::open() {
|
|||
_slideMode = kDownSlideMode;
|
||||
|
||||
Dialog::open();
|
||||
if (_promptStartPos == -1) {
|
||||
if ((_promptStartPos == -1) || (_currentPos > _promptEndPos)) {
|
||||
// we print a prompt, if this is the first time we are called or if the
|
||||
// engine wrote onto us since the last call
|
||||
print(PROMPT);
|
||||
_promptStartPos = _promptEndPos = _currentPos;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue