处理某些情况下设置鼠标异常问题
This commit is contained in:
parent
30f4b66469
commit
5f179e4694
|
@ -21,7 +21,7 @@ namespace N_m3u8DL_RE
|
||||||
{
|
{
|
||||||
static async Task Main(string[] args)
|
static async Task Main(string[] args)
|
||||||
{
|
{
|
||||||
Console.CursorVisible = true;
|
try { Console.CursorVisible = true; } catch { }
|
||||||
string loc = "en-US";
|
string loc = "en-US";
|
||||||
string currLoc = Thread.CurrentThread.CurrentUICulture.Name;
|
string currLoc = Thread.CurrentThread.CurrentUICulture.Name;
|
||||||
if (currLoc == "zh-CN" || currLoc == "zh-SG") loc = "zh-CN";
|
if (currLoc == "zh-CN" || currLoc == "zh-SG") loc = "zh-CN";
|
||||||
|
|
Loading…
Reference in New Issue