Oops
This commit is contained in:
parent
bac7ba9a5d
commit
9d7c92fb6e
|
@ -88,6 +88,25 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
[LuaMethodAttributes(
|
||||
"writeline",
|
||||
"Outputs the given object to the output box on the Lua Console dialog. Note: Can accept a LuaTable"
|
||||
)]
|
||||
public static void WriteLine(params object[] outputs)
|
||||
{
|
||||
Log(outputs);
|
||||
Log('\n');
|
||||
}
|
||||
|
||||
[LuaMethodAttributes(
|
||||
"write",
|
||||
"Outputs the given object to the output box on the Lua Console dialog. Note: Can accept a LuaTable"
|
||||
)]
|
||||
public static void Write(params object[] outputs)
|
||||
{
|
||||
Log(outputs);
|
||||
}
|
||||
|
||||
// Single param version is used by logOutputCallback of some libraries.
|
||||
public static void Log(string output)
|
||||
{
|
||||
|
|
|
@ -334,7 +334,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
OutputBox.Invoke(() =>
|
||||
{
|
||||
OutputBox.Text += message + "\n";
|
||||
OutputBox.Text += message;
|
||||
OutputBox.SelectionStart = OutputBox.Text.Length;
|
||||
OutputBox.ScrollToCaret();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue