LuaConsole - simplify WriteToOutputWindow some
This commit is contained in:
parent
12897bb00d
commit
ee263fbfbf
|
@ -521,17 +521,18 @@ namespace BizHawk.Client.EmuHawk
|
|||
return;
|
||||
}
|
||||
|
||||
OutputBox.Invoke(() =>
|
||||
{
|
||||
_messageCount++;
|
||||
_messageCount++;
|
||||
|
||||
if (_messageCount <= MaxCount)
|
||||
if (_messageCount <= MaxCount)
|
||||
{
|
||||
OutputBox.Invoke(() =>
|
||||
{
|
||||
OutputBox.Text += message;
|
||||
OutputBox.SelectionStart = OutputBox.Text.Length;
|
||||
OutputBox.ScrollToCaret();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void ClearOutputWindow()
|
||||
|
|
Loading…
Reference in New Issue