mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-23 03:39:26 +01:00
Print ffmpeg log while waiting for autoenc to finish
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Flowframes
|
||||
|
||||
public static void Log(string s, bool hidden = false, bool replaceLastLine = false, string filename = "")
|
||||
{
|
||||
if (s == null)
|
||||
if (string.IsNullOrWhiteSpace(s))
|
||||
return;
|
||||
|
||||
Console.WriteLine(s);
|
||||
@@ -97,5 +97,10 @@ namespace Flowframes
|
||||
string[] lines = textbox.Text.SplitIntoLines();
|
||||
return lines.Last();
|
||||
}
|
||||
|
||||
public static void RemoveLastLine ()
|
||||
{
|
||||
textbox.Text = textbox.Text.Remove(textbox.Text.LastIndexOf(Environment.NewLine));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user