LuaConsole - bump message count max to 100, clear count after using the command input box on the console
This commit is contained in:
parent
bb7f933429
commit
fbbe3b6e40
|
@ -513,7 +513,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
private void WriteLine(string message) => WriteToOutputWindow(message + "\n");
|
||||
|
||||
private int _messageCount;
|
||||
private const int MaxCount = 50;
|
||||
private const int MaxCount = 100;
|
||||
public void WriteToOutputWindow(string message)
|
||||
{
|
||||
if (!OutputBox.IsHandleCreated || OutputBox.IsDisposed)
|
||||
|
@ -1470,6 +1470,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
});
|
||||
});
|
||||
|
||||
_messageCount = 0;
|
||||
_consoleCommandHistory.Insert(0, InputBox.Text);
|
||||
_consoleCommandHistoryIndex = -1;
|
||||
InputBox.Clear();
|
||||
|
|
Loading…
Reference in New Issue