使用`tput`替代`stty` (#523)

This commit is contained in:
nilaoda 2024-11-29 20:57:20 +08:00 committed by GitHub
parent 77fdaaf9bd
commit 3081701a32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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);
}