OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python38
/
lib64
/
python3.8
/
curses
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/21/2025 06:55:16 AM
rwxr-xr-x
📄
__init__.cpython-38.opt-1.pyc
2.1 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
__init__.cpython-38.opt-2.pyc
1.59 KB
09/23/2024 11:50:26 AM
rw-r--r--
📄
__init__.cpython-38.pyc
2.1 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
ascii.cpython-38.opt-1.pyc
3.88 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
ascii.cpython-38.opt-2.pyc
3.81 KB
09/23/2024 11:50:26 AM
rw-r--r--
📄
ascii.cpython-38.pyc
3.88 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
has_key.cpython-38.opt-1.pyc
4.46 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
has_key.cpython-38.opt-2.pyc
4.46 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
has_key.cpython-38.pyc
4.46 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
panel.cpython-38.opt-1.pyc
238 bytes
09/23/2024 11:50:24 AM
rw-r--r--
📄
panel.cpython-38.opt-2.pyc
170 bytes
09/23/2024 11:50:26 AM
rw-r--r--
📄
panel.cpython-38.pyc
238 bytes
09/23/2024 11:50:24 AM
rw-r--r--
📄
textpad.cpython-38.opt-1.pyc
5.78 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
textpad.cpython-38.opt-2.pyc
4.26 KB
09/23/2024 11:50:26 AM
rw-r--r--
📄
textpad.cpython-38.pyc
5.78 KB
09/23/2024 11:50:24 AM
rw-r--r--
Editing: textpad.cpython-38.opt-1.pyc
Close
U i�f� � @ sV d Z ddlZddlZdd� ZG dd� d�ZedkrRdd � Ze�e�Ze d e e�� dS )z:Simple textbox editing widget with Emacs-like keybindings.� Nc C s� | � |d |tj|| d � | �||d tj|| d � | �||d tj|| d � | � |d |tj|| d � | �||tj� | �||tj� | �||tj� | �||tj � dS )z^Draw a rectangle with corners at the provided upper-left and lower-right coordinates. � N) Zvline�cursesZ ACS_VLINEZhlineZ ACS_HLINE�addchZACS_ULCORNERZACS_URCORNERZACS_LRCORNERZACS_LLCORNER)�win�uly�ulxZlryZlrx� r �3/opt/alt/python38/lib64/python3.8/curses/textpad.py� rectangle s r c @ sL e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd d� Z ddd�Z dS )�Textboxad 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 Fc C s. || _ || _| �� d| _d | _|�d� d S �Nr )r �insert_mode�_update_max_yx�stripspaces�lastcmdZkeypad)�selfr r r r r �__init__+ s zTextbox.__init__c C s&