+
    RiI                        ^ RI Ht ^ RIt]P                  R8X  g   Q h^ RIHtHt ^ RIHt ^RI	H
t
 ^RIHt ^RIHt ^R	IHt R
.t ! R R
4      t]
P&                  ! ]4       R# )    )annotationsNwin32)AnyTextIOSize)Output)
ColorDepth)Vt100_Output)Win32OutputConEmuOutputc                  L    ] tR t^tRtR
R R llt]R R l4       tR R ltR	t	R# )r   a  
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/
Nc               $    V ^8  d   QhRRRRRR/# )   stdoutr   default_color_depthzColorDepth | NonereturnNone )formats   "[/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/prompt_toolkit/output/conemu.py__annotate__ConEmuOutput.__annotate__%   s$     
 

3D
	
    c                	P    \        WR 7      V n        \        VR VR 7      V n        R# ))r   c                     \        ^ ^ 4      # )r   r   r   r   r   <lambda>'ConEmuOutput.__init__.<locals>.<lambda>*   s
    DAJr   N)r   win32_outputr   vt100_output)selfr   r   s   &&&r   __init__ConEmuOutput.__init__%   s'     (X(&<O
r   c                   V ^8  d   QhRR/# )r   r   boolr   )r   s   "r   r   r   .   s       r   c                	    R # )Fr   )r!   s   &r   responds_to_cprConEmuOutput.responds_to_cpr-   s    r   c                    V ^8  d   QhRRRR/# )r   namestrr   r   r   )r   s   "r   r   r   1   s     4 4 4 4r   c                	h    VR9   d   \        V P                  V4      # \        V P                  V4      # )get_size)r-   get_rows_below_cursor_positionenable_mouse_supportdisable_mouse_supportscroll_buffer_to_promptget_win32_screen_buffer_infoenable_bracketed_pastedisable_bracketed_paste)getattrr   r    )r!   r*   s   &&r   __getattr__ConEmuOutput.__getattr__1   s7     	
 	
 4,,d334,,d33r   )r    r   )N)
__name__
__module____qualname____firstlineno____doc__r"   propertyr'   r6   __static_attributes__r   r   r   r   r      s*    
  4 4r   )
__future__r   sysplatformtypingr   r   prompt_toolkit.data_structuresr   baser	   color_depthr
   vt100r   r   r   __all__r   registerr   r   r   <module>rI      sT    " 

||w   /  #   
)4 )4X  r   