Skip to content

Commit

Permalink
upd - Updated SpecProbe
Browse files Browse the repository at this point in the history
---

Type: upd
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jul 27, 2024
1 parent c85717a commit 5be81f4
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions Terminaux.ResizeListener/ConsoleResizeListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
using Terminaux.Base.Checks;

#if NET8_0_OR_GREATER
using SpecProbe.Platform;
using SpecProbe.Software.Platform;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#endif
Expand Down Expand Up @@ -62,16 +62,16 @@ public static void StartResizeListener(Action<int, int, int, int> customHandler
else
{
#endif
if (!ResizeListenerThread.IsAlive)
{
if (customHandler is not null)
if (!ResizeListenerThread.IsAlive)
{
ResizeListenerThread = new((l) => PollForResize((Action<int, int, int, int>)l)) { Name = "Console Resize Listener Thread", IsBackground = true };
ResizeListenerThread.Start(customHandler);
if (customHandler is not null)
{
ResizeListenerThread = new((l) => PollForResize((Action<int, int, int, int>)l)) { Name = "Console Resize Listener Thread", IsBackground = true };
ResizeListenerThread.Start(customHandler);
}
else
ResizeListenerThread.Start(null);
}
else
ResizeListenerThread.Start(null);
}
#if NET8_0_OR_GREATER
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion Terminaux.ResizeListener/Terminaux.ResizeListener.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="SpecProbe.Software" Version="1.5.0" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="SpecProbe.Software" Version="1.6.0.1" Condition="'$(TargetFramework)' == 'net8.0'" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Terminaux/Base/Checks/ConsoleChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
using System.Reflection;
using Terminaux.Writer.ConsoleWriters;
using Terminaux.Base.Extensions;
using SpecProbe.Platform;
using SpecProbe.Software.Platform;
using Terminaux.Reader;
using Terminaux.Base.TermInfo;
using Terminaux.Colors.Data;
Expand Down
2 changes: 1 addition & 1 deletion Terminaux/Base/Checks/ConsoleFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//

using SpecProbe.Platform;
using SpecProbe.Software.Platform;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
Expand Down
2 changes: 1 addition & 1 deletion Terminaux/Base/ConsoleWrapperTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//

using SpecProbe.Platform;
using SpecProbe.Software.Platform;
using System;
using System.Threading;
using Terminaux.Base.Checks;
Expand Down
2 changes: 1 addition & 1 deletion Terminaux/Base/Extensions/ConsoleMisc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//

using SpecProbe.Platform;
using SpecProbe.Software.Platform;
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
2 changes: 1 addition & 1 deletion Terminaux/Base/Extensions/ConsolePositioning.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using Textify.General;
using SpecProbe.Platform;
using SpecProbe.Software.Platform;
using Terminaux.Writer.ConsoleWriters;
using Terminaux.Sequences.Builder.Types;
using Terminaux.Base.Checks;
Expand Down
2 changes: 1 addition & 1 deletion Terminaux/Inputs/Pointer/PointerListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//

using SpecProbe.Platform;
using SpecProbe.Software.Platform;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion Terminaux/Terminaux.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="SpecProbe.Software" Version="1.5.0" />
<PackageReference Include="SpecProbe.Software" Version="1.6.0.1" />
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="Textify.Figlet" Version="1.9.1" />
<PackageReference Include="Textify.Offline" Version="1.9.1" />
Expand Down
2 changes: 1 addition & 1 deletion Terminaux/Writer/ConsoleWriters/TextWriterRaw.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
using Terminaux.Base.Extensions;
using Terminaux.Base;
using Terminaux.Reader;
using SpecProbe.Platform;
using SpecProbe.Software.Platform;
using Textify.General;

namespace Terminaux.Writer.ConsoleWriters
Expand Down

0 comments on commit 5be81f4

Please sign in to comment.