Update 0.01 D

This commit is contained in:
JJ
2025-11-24 00:04:52 -05:00
parent ce5e7b16f4
commit ab438856ad
6 changed files with 593 additions and 137 deletions
+4 -8
View File
@@ -1,5 +1,4 @@
// Utils.cs (patched)
using System;
using System;
using System.Runtime.InteropServices;
using System.Speech.Synthesis;
using System.Threading;
@@ -16,8 +15,8 @@ namespace Lua
[DllImport("user32.dll")] public static extern void mouse_event(uint dwFlags, int dx, int dy, uint dwData, UIntPtr dwExtraInfo);
public const uint MOUSEEVENTF_MOVE = 0x0001;
const int VK_CAPITAL = 0x14;
static bool previousCapsState;
private const int VK_CAPITAL = 0x14;
private static bool previousCapsState;
public static void InitializeCapsState()
{
@@ -73,15 +72,12 @@ namespace Lua
: $"🚀 Standard Mode Enabled | Current Set: {OperatorSets.CurrentSet}";
}
// -----------------------------------------------------
// NEW: Auto console clear when near bottom
// -----------------------------------------------------
public static void AutoClearIfNearBottom()
{
try
{
int current = Console.CursorTop;
int limit = Console.WindowHeight - 2; // keep 2-row buffer
int limit = Console.WindowHeight - 2;
if (current >= limit)
{