public static void SetTabProperties(IntPtr child, TabBehavior behavior) { if (IsInitialized) { taskbar.SetTabProperties(child, behavior); } }
private static void HandleKeyInput(ConsoleKeyInfo input) { TabBehavior.ResetTabValues(); string currentInput = ConsoleInterface.Builder.ToString(); if (input.Key == ConsoleKey.Backspace && currentInput.Length > 0) { ConsoleInterface.Builder.Remove(ConsoleInterface.Builder.Length - 1, 1); ConsoleInterface.ClearCurrentLine(); currentInput = currentInput.Remove(currentInput.Length - 1); ConsoleInterface.ShowPrefix(); Console.Write(currentInput); } else { var key = input.KeyChar; ConsoleInterface.Builder.Append(key); ConsoleInterface.ClearCurrentLine(); ConsoleInterface.BuildCurrentConsoleLine(); } }
private static void HandleTabInput() { TabBehavior.HandleTab(); }
public static void SetTabProperties(IntPtr child, TabBehavior behavior) { if (IsInitialized) taskbar.SetTabProperties(child, behavior); }