2biS S SK r S SKJrJr \ R S: a S SKJr OS SKJr SSKJr SSK J
r
JrJrJ
r
SSKJr SS KJrJr SS
KJr SSKJr \S r " S
S5 rg) N)OptionalTuple) )Literal ) loop_last)ConsoleConsoleOptionsRenderableTypeRenderResult)Control)ControlTypeSegment) StyleType)Text)cropellipsisvisiblec ~ \ rS rSrSr SS\S\S\SS4S jjrS\SS4S jr S\
4S
jrS\
4S jrS\
S
\S\4S jrSrg)
LiveRender zCreates a renderable that may be updated.
Args:
renderable (RenderableType): Any renderable object.
style (StyleType, optional): An optional style to apply to the renderable. Defaults to "".
renderablestylevertical_overflowreturnNc 6 Xl X l X0l S U l g )N)r r r _shape)selfr r r s ڎ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/rich/live_render.py__init__LiveRender.__init__ s %
!215 c Xl g)zdSet a new renderable.
Args:
renderable (RenderableType): Any renderable object, including str.
N)r )r r s r set_renderableLiveRender.set_renderable' s %r# c U R ba U R u p[ [ R [ R S4/[ R
S4[ R S44US-
- Q76 $ [ 5 $ )z}Get control codes to move cursor to beginning of live render.
Returns:
Control: A control instance that may be printed.
r )r r r CARRIAGE_RETURN
ERASE_IN_LINE CURSOR_UPr _heights r position_cursorLiveRender.position_cursor/ s} ;;"IA++**A.
%..2$22A6 z #
yr# c U R bM U R u p[ [ R /[ R S4[ R
S44U- Q76 $ [ 5 $ )zGet control codes to clear the render and restore the cursor to its previous position.
Returns:
Control: A Control instance that may be printed.
r r( )r r r r) r+ r* r, s r restore_cursorLiveRender.restore_cursorD sb ;;"IA++((!,{/H/H!.LMPVV
yr# consoleoptionsc # # U R nUR U R 5 nUR X2USS9n[ R
" U5 nUu pxXR R : a U R S:X a0 US UR R n[ R
" U5 nOxU R S:X ah US UR R S-
n[ SSSSS S
9n UR [ UR U 5 5 5 [ R
" U5 nX`l
[ R " 5 n
[ U5 H u pU S h vN U( a M U
v M g N7f)NF)r padr r r z...center z
live.ellipsis)overflowjustifyendr )r get_styler render_linesr get_shapesizer. r r appendlistrenderr liner )
r r4 r5 r r linesshaper- r.
overflow_textnew_linelastrD s
r __rich_console__LiveRender.__rich_console__R s; __
!!$**-$$Z5$Q!!%( LL'''%%/3 3 34))%0'':59!4!4q!8: $#$)!
T'.."?@A))%0<<>#E*JDOO4 +s EE/E- E/$
E/)r r r r )r9 r )__name__
__module____qualname____firstlineno____doc__r r VerticalOverflowMethodr! r% r r/ r2 r
r r
rJ __static_attributes__ r# r r r s 4> 6" 6 6 2 6
6% %D % * )7 r# r )systypingr r version_infor pip._vendor.typing_extensions_loopr r4 r
r r r
controlr segmentr r r r textr rQ r rS r# r