Skip to content

The agent that grows with you

fix: keep cli_footer_split importable under the prompt_toolkit test stubs

teknium17f21c7dcc737
diff --git a/hermes_cli/cli_footer_split.py b/hermes_cli/cli_footer_split.py
index b00b7639b63..48cedb86d62 100644
--- a/hermes_cli/cli_footer_split.py
+++ b/hermes_cli/cli_footer_split.py
@@ -14,7 +14,6 @@ from __future__ import annotations
from prompt_toolkit.application import get_app
from prompt_toolkit.layout import HSplit
-from prompt_toolkit.layout.screen import WritePosition
class FooterSplit(HSplit):
@@ -26,7 +25,7 @@ class FooterSplit(HSplit):
next frame measures and paints against the same state.
"""
- def _divide_heights(self, write_position: WritePosition) -> list[int] | None:
+ def _divide_heights(self, write_position) -> list[int] | None:
sizes = super()._divide_heights(write_position)
if sizes is not None:
return sizes