Sindbad~EG File Manager
�
MٜgF � �� � d Z ddlmZ ddlmZmZmZ ddlZddlm Z m
Z
mZmZ ddl
mZ ddlmZ ddlmZ dd lmZ eeeef ee f Z ed
� Z ed� Zdd�Zddd
�Z d d!d�Z d d"d�Z d# d$d�Z d% d&d�Zd'd�Zd(d)d�Z d* d+d�Z! d,d�Z" G d� de#eef � Z$ G d� d� Z% G d� de%� Z&d-d�Z'y).z
Printing tools.
� )�annotations)�Iterable�Mapping�SequenceN)�Any�Callable�TypeVar�Union)�east_asian_width)�
get_option)�is_sequence)�get_console_size�_KT�_VTc � � |j dt � }|j dt � }g }|dd D �cg c] }t t ||� � | z �� }}|j t t t |d � � � t t t |� � }t
|� D ]? \ } }
||
|| d�� }d|| z g|t |
� z
z |z }|j |� �A t |� }dj d � |D � � S c c}w )
a�
Glues together two sets of strings using the amount of space requested.
The idea is to prettify.
----------
space : int
number of spaces for padding
lists : str
list of str which being joined
strlen : callable
function used to calculate the length of each str. Needed for unicode
handling.
justfunc : callable
function used to justify str. Needed for unicode handling.
�strlen�justfuncN����left)�mode� �
c 3 �>