⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
curses
/
__pycache__
/
View File Name :
textpad.cpython-310.pyc
o }ò5hé ã @ sZ d Z ddlZddlZdd„ ZG dd„ dƒZedkr+dd „ Ze e¡Ze d e eƒƒ dS 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) ÚvlineÚcursesÚ ACS_VLINEÚhlineÚ ACS_HLINEÚaddchÚACS_ULCORNERÚACS_URCORNERÚACS_LRCORNERÚACS_LLCORNER)ÚwinÚulyÚulxÚlryÚlrx© r ú%/usr/lib/python3.10/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ÚlastcmdÚkeypad)Úselfr r r r r Ú__init__+ s zTextbox.__init__c C s&