+
    „WÝjå  ã                  óD   € R t ^ RIHt ^ RIHt ^ RIHt  ! R R]4      tR# )uˆ  Root container of the classic CLI footer: clips a late row instead of giving up.

prompt_toolkit renders a non-full-screen layout into exactly the height it measured a moment
earlier (``Renderer.render`` â†’ ``HSplit.preferred_height``), then ``HSplit._divide_heights``
measures every child again while painting. Each footer row here has a callable height that the
agent thread flips mid-turn (``_agent_running`` â†’ spacer, ``_spinner_text`` â†’ spinner,
``_command_running`` â†’ hint), so a row appearing between the two passes makes the summed minimum
exceed the budget by one and stock ``HSplit`` replaces the WHOLE footer with its
" Window too small... " placeholder (#57393) â€” on any terminal size, including a maximised 200Ã—50
pane. Hermes's throttled ``_invalidate`` can then drop the healing repaint for the length of a
tool call, so the placeholder sits there looking like a geometry error.
)Úannotations)Úget_app)ÚHSplitc                  ó2   a € ] tR t^tRtR V 3R lltRtV ;t# )ÚFooterSplitu   ``HSplit`` whose overflow path keeps the composer on screen and repaints right away.

When the base class would paint the placeholder, allocate the children's minimum heights
bottom-up (composer, rules and status bar first) so only the row that appeared late â€” always
above them â€” loses its row for this one frame, and schedule an unthrottled redraw so the
next frame measures and paints against the same state.
c               ó   € V ^8„  d   QhRR/# )é   Úreturnzlist[int] | None© )Úformats   "ÚOC:\Users\johnn\AppData\Local\hermes\hermes-agent\hermes_cli\cli_footer_split.pyÚ__annotate__ÚFooterSplit.__annotate__   s   € ÷ ñ Ð1Añ ó    c                	ó\  <€ \         SV `  V4      pVe   V# VP                  p. p\        V P                  4       FL  p\        VP                  VP                  V4      P
                  V4      pW6,          pVP                  V4       KN  	  \        4       P                  4        VR R R1,          # )Néÿÿÿÿ)ÚsuperÚ_divide_heightsÚheightÚreversedÚ_all_childrenÚminÚpreferred_heightÚwidthÚappendr   Ú
invalidate)ÚselfÚwrite_positionÚsizesÚbudgetÚclippedÚchildÚrowsÚ	__class__s   &&     €r   r   ÚFooterSplit._divide_heights   s™   ø€ Ü‘Ñ'¨Ó7ˆØÒØˆLØ×&Ñ&ˆØˆÜ˜d×0Ñ0Ö1ˆEÜ�u×-Ñ-¨n×.BÑ.BÀFÓK×OÑOÐQWÓXˆDØ�NˆFØ�N‰N˜4Ö ñ 2ô 	‹	×ÑÔØ‘t˜�t�}Ðr   r
   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   Ú__static_attributes__Ú__classcell__)r#   s   @r   r   r      s   ø† ñ÷ö r   r   N)r)   Ú
__future__r   Úprompt_toolkit.applicationr   Úprompt_toolkit.layoutr   r   r
   r   r   Ú<module>r/      s!   ðñõ #å .Ý (ô�&ö r   