/opt/imh/python3.13/lib/python3.13/curses/__pycache__
Edit: /opt/imh/python3.13/lib/python3.13/curses/__pycache__/textpad.cpython-313.pyc (12284B)
eJ S r SSKrSSKrS r " S S5 r\S:X a% S r\R " \5 r\ " S\
" \5 5 gg) z:Simple textbox editing widget with Emacs-like keybindings. Nc P U R US- U[ R X1-
S-
5 U R XS- [ R XB-
S-
5 U R X2S- [ R XB-
S-
5 U R US- U[ R X1-
S-
5 U R X[ R 5 U R X[ R 5 U R X4[ R 5 U R X2[ R 5 g)zVDraw a rectangle with corners at the provided upper-left
and lower-right coordinates.
N)
vlinecurses ACS_VLINEhline ACS_HLINEaddchACS_ULCORNERACS_URCORNERACS_LRCORNERACS_LLCORNER)winulyulxlrylrxs 4/opt/imh/python3.13/lib/python3.13/curses/textpad.py rectangler s IIc!eS&**CIM:IIcq5&**CIM:IIcq5&**CIM:IIc!eS&**CIM:IIc++,IIc++,IIc++,IIc++, c J \ rS rSrSrSS jrS rS rS rS r S r
S
S
jrSrg )Textbox a Editing widget using the interior of a window object.
Supports the following Emacs-like key bindings:
Ctrl-A Go to left edge of window.
Ctrl-B Cursor left, wrapping to previous line if appropriate.
Ctrl-D Delete character under cursor.
Ctrl-E Go to right edge (stripspaces off) or end of line (stripspaces on).
Ctrl-F Cursor right, wrapping to next line when appropriate.
Ctrl-G Terminate, returning the window contents.
Ctrl-H Delete character backward.
Ctrl-J Terminate if the window is 1 line, otherwise insert newline.
Ctrl-K If line is blank, delete it, otherwise clear to end of line.
Ctrl-L Refresh screen.
Ctrl-N Cursor down; move down one line.
Ctrl-O Insert a blank line at cursor location.
Ctrl-P Cursor up; move up one line.
Move operations do nothing if the cursor is at an edge where the movement
is not possible. The following synonyms are supported where possible:
KEY_LEFT = Ctrl-B, KEY_RIGHT = Ctrl-F, KEY_UP = Ctrl-P, KEY_DOWN = Ctrl-N
KEY_BACKSPACE = Ctrl-h
c z Xl X l U R 5 SU l S U l UR S5 g Nr )r insert_mode_update_max_yxstripspaceslastcmdkeypad)selfr r s r __init__Textbox.__init__+ s3 &
1
r c d U R R 5 u pUS-
U l US-
U l g r )r getmaxyxmaxymaxx)r! r&