
    ;e                     X    d dl Z d dl mZ ddZd Zedk    r e j        e           dS dS )    N)textpadFc                 
   d\  }}d\  }}|rd}nd}|                      |dz
  |d|z             |                      |dz
  |d           t          j        ||||          }t          j        | |d	z
  |d	z
  ||z   ||z              |                                  t          j        ||          }|                                }	|                      ||z   dz   d
d           |                      t          |	                     |                      d           |                      d           | 	                                 t          d          D ]5}
|                     ||z   dz   |
z   d
           |                                  6d S )N)      )r      zinsert modezoverwrite moder   zUse Ctrl-G to end editing (%s).r   z0Be sure to try typing in the lower-right corner.   r   zText entered in the box

zPress any key)addstrcursesnewwinr   	rectanglerefreshTextboxeditreprgetchrangemoveclrtoeol)stdscrinsert_modencolsnlinesulyulxmodewinboxcontentsis              (/usr/lib/python3.11/test/curses_tests.pytest_textpadr"      s   ME6HC  
MM#a%?$FGGG
MM#a%PQQQ
-sC
0
0Cfc!eSUC&L#+FFF
NN
/#{
+
+CxxzzH
MM#e)A+q"=>>>
MM$x..!!!
MM$
MM/"""
LLNNN1XX  CIaK!OQ'''     c                 n    |                                   t          | d           t          | d           d S )NFT)clearr"   )r   s    r!   mainr&   '   s5    
LLNNNr#   __main__)F)r   r   r"   r&   __name__wrapper r#   r!   <module>r+      sr             4   zFN4 r#   