
    .:i                     4    S SK r SSKJr  S\4S jrS\4S jrg)    N   )configreturnc                  ,    [         R                  " 5       $ )z[Reads a single utf8-character from the input stream.
Blocks until a character is available.)msvcrtgetwch     L/home/james-whalen/.local/lib/python3.13/site-packages/readchar/_win_read.pyreadcharr      s    
 ==?r
   c                      [        5       n U [        R                  ;   a  [        eU S;   a  S[        5       -   n SU s=::  a  S::  a0  O  U $ U [        5       -  n U R	                  SSS9R                  S5      n U $ )zxReads the next keypress. If an escaped key is pressed, the full
sequence is read and returned as noted in `_win_key.py`.u    à u   u   zutf-16surrogatepass)errors)r   r   INTERRUPT_KEYSKeyboardInterruptencodedecode)chs    r   readkeyr      s    
 
B 
V""" 
Z hj  2!! I 	hj YYxY8??IIr
   )r   _configr   strr   r   r	   r
   r   <module>r      s#     #  r
   