DTLib.Network updated

This commit is contained in:
Timerix22 2024-01-06 03:20:59 +06:00
parent 1cf556c87c
commit 097a5d0aca
3 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,6 @@ using System.Linq;
using System.Security.Cryptography; using System.Security.Cryptography;
using System.Text; using System.Text;
using DTLib.Console; using DTLib.Console;
using DTLib.Dtsod;
using DTLib.Extensions; using DTLib.Extensions;
using DTLib.Logging; using DTLib.Logging;
using DTLib.Network; using DTLib.Network;
@ -153,7 +152,7 @@ internal static partial class Launcher
if (tabs.Current == tabs.Exit) if (tabs.Current == tabs.Exit)
{ {
Console.Clear(); Console.Clear();
Console.BufferHeight = 9999; // Console.BufferHeight = 9999;
return; return;
} }
break; break;
@ -175,6 +174,7 @@ internal static partial class Launcher
ColoredConsole.Write("gray", "press any key to close..."); ColoredConsole.Write("gray", "press any key to close...");
Console.ReadKey(); Console.ReadKey();
} }
Console.CursorVisible = true;
} }
private static void RenderTab(string tab, ushort bufferHeight = 30) private static void RenderTab(string tab, ushort bufferHeight = 30)
@ -182,7 +182,7 @@ internal static partial class Launcher
tabs.Current = tab; tabs.Current = tab;
Console.Clear(); Console.Clear();
Console.SetWindowSize(80, 30); Console.SetWindowSize(80, 30);
Console.SetBufferSize(80, bufferHeight); // Console.SetBufferSize(80, bufferHeight);
ColoredConsole.Write("w", tab); ColoredConsole.Write("w", tab);
} }

View File

@ -15,6 +15,6 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="DTLib.Dtsod" Version="1.3.1" /> <PackageReference Include="DTLib.Dtsod" Version="1.3.1" />
<PackageReference Include="DTLib.Logging" Version="1.3.1" /> <PackageReference Include="DTLib.Logging" Version="1.3.1" />
<PackageReference Include="DTLib.Network" Version="1.3.1" /> <PackageReference Include="DTLib.Network" Version="1.3.2" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -11,6 +11,6 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="DTLib.Dtsod" Version="1.3.1" /> <PackageReference Include="DTLib.Dtsod" Version="1.3.1" />
<PackageReference Include="DTLib.Logging" Version="1.3.1" /> <PackageReference Include="DTLib.Logging" Version="1.3.1" />
<PackageReference Include="DTLib.Network" Version="1.3.1" /> <PackageReference Include="DTLib.Network" Version="1.3.2" />
</ItemGroup> </ItemGroup>
</Project> </Project>