使用`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…
Reference in New Issue