← Back
Editing: base.cpython-311.pyc
� �Ïc� � �� � d Z ddlmZmZmZ ddlmZ ddlmZm Z m Z mZ ddlm Z g d�Z G d� de� � � Z G d � de� � Z G d� d e� � Zede d fd�� � ZdS )z Abstraction of CLI Input. � )�ABCMeta�abstractmethod�abstractproperty)�contextmanager)�Callable�ContextManager� Generator�List)�KeyPress)�Input� PipeInput� DummyInputc �j � e Zd ZdZedefd�� � Zedefd�� � Zede e fd�� � Zde e fd�Zdd�Z edefd �� � Zeded fd �� � Zeded fd�� � Zedeg df ded fd �� � Zeded fd�� � Zdd�ZdS )r z� Abstraction for any input. An instance of this class can be given to the constructor of a :class:`~prompt_toolkit.application.Application` and will also be passed to the :class:`~prompt_toolkit.eventloop.base.EventLoop`. �returnc � � dS )z; Fileno for putting this in an event loop. N� ��selfs �;/usr/lib/python3/dist-packages/prompt_toolkit/input/base.py�filenozInput.fileno � � � � � c � � dS )z@ Identifier for storing type ahead key presses. Nr r s r �typeahead_hashzInput.typeahead_hash r r c � � dS )zT Return a list of Key objects which are read/parsed from the input. Nr r s r � read_keyszInput.read_keys&