You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search the existing issues, especially the pinned issues.
Exception report
Произошла ошибка. Сообщите об этой ошибке, указав данные ниже.Напишите в GitHub: https://github.com/lzybkr/PSReadLine/issues/new-----------------------------------------------------------------------Последние клавиши 200: a m s \ P y t h o n \ P y t h o n 3 1 3 \ p y t h o n . e x e ' Space ' c : \ U s e r s \ L e n o v o \ . v s c o d e \ e x t e n s i o n s \ m s - p y t h o n . d e b u g p y - 2 0 2 5 . 8 . 0 - w i n 3 2 - x 6 4 \ b u n d l e d \ l i b s \ d e b u g p y \ l a u n c h e r ' Space ' 1 0 6 5 3 ' Space ' - - ' Space ' c : \ U s e r s \ L e n o v o \ D e s k t o p \ S m a r t G r a d e \ m a i n _ a p p . p y ' Space EnterИсключение:System.ArgumentOutOfRangeException: Значение должно быть больше или равно нулю и меньше, чем размер буфера в данной размерности. Имя параметра: topФактическое значение было -1. в System.Console.SetCursorPosition(Int32 left, Int32 top) в Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor) в Microsoft.PowerShell.PSConsoleReadLine.ForceRender() в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c) в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg) в Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg) в Microsoft.PowerShell.PSConsoleReadLine.InputLoop() в Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)-----------------------------------------------------------------------
Screenshot
Environment data
Python: 3.13.2OS: Windows 10
Steps to reproduce
root = ctk.CTk()
root.title("My App")
def on_theme_change(selected_theme):
ctk.set_appearance_mode(selected_theme)
theme_menu = ctk.CTkOptionMenu(
master=root,
values=["light", "dark", "system"],
command=on_theme_change
)
theme_menu.set("system") # Установка по умолчанию
theme_menu.pack(pady=10, anchor="ne", padx=10) # Можно заменить на pack() или grid()
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered:
The report URL https://github.com/lzybkr/PSReadLine/issues/new indicates you are using a very old version of PSReadLine module, 2.0.0-beta2 or prior. Please upgrade to the latest v2.3.6 and the issue is likely resolved in the new version.
Prerequisites
Exception report
Screenshot
Environment data
Steps to reproduce
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: