)L iIddlmZddlZejdk(sJddlmZmZddlmZddl m Z ddl m Z dd l mZdd lmZd gZGd d Ze j&ey) ) annotationsNwin32)AnyTextIOSize)Output) ColorDepth) Vt100_Output) Win32Output ConEmuOutputc@eZdZdZ d ddZeddZd dZy) ra ConEmu (Windows) output abstraction. ConEmu is a Windows console application, but it also supports ANSI escape sequences. This output class is actually a proxy to both `Win32Output` and `Vt100_Output`. It uses `Win32Output` for console sizing and scrolling, but all cursor movements and scrolling happens through the `Vt100_Output`. This way, we can have 256 colors in ConEmu and Cmder. Rendering will be even a little faster as well. http://conemu.github.io/ http://gooseberrycreative.com/cmder/ NcPt|||_t|d||_y)N)default_color_depthctddS)Nrrb/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/prompt_toolkit/output/conemu.pyz'ConEmuOutput.__init__..*s DAJr)r win32_outputr vt100_output)selfstdoutrs r__init__zConEmuOutput.__init__%s*(DWX( &r=sV"  ||w/#  )4)4X r