mirror of
https://github.com/nilaoda/N_m3u8DL-RE.git
synced 2025-04-29 14:14:38 +02:00
使用tput
替代stty
(#523)
This commit is contained in:
parent
77fdaaf9bd
commit
3081701a32
@ -17,7 +17,7 @@ namespace N_m3u8DL_RE.CommandLine;
|
||||
|
||||
internal partial class CommandInvoker
|
||||
{
|
||||
public const string VERSION_INFO = "N_m3u8DL-RE (Beta version) 20241124";
|
||||
public const string VERSION_INFO = "N_m3u8DL-RE (Beta version) 20241129";
|
||||
|
||||
[GeneratedRegex("((best|worst)\\d*|all)")]
|
||||
private static partial Regex ForStrRegex();
|
||||
|
@ -61,7 +61,7 @@ internal class Program
|
||||
{
|
||||
Console.CursorVisible = true;
|
||||
if (!OperatingSystem.IsWindows())
|
||||
System.Diagnostics.Process.Start("stty", "echo");
|
||||
System.Diagnostics.Process.Start("tput", "cnorm");
|
||||
} catch { }
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user