Update 0.01 D
This commit is contained in:
+4
-8
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user