mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix: cap user-input separator at 120 cols (matches response box)
This commit is contained in:
parent
9ea2209a43
commit
e8b19b5826
1 changed files with 1 additions and 1 deletions
2
cli.py
2
cli.py
|
|
@ -3239,7 +3239,7 @@ class HermesCLI:
|
|||
# Add user message to history
|
||||
self.conversation_history.append({"role": "user", "content": message})
|
||||
|
||||
w = shutil.get_terminal_size().columns
|
||||
w = min(shutil.get_terminal_size().columns, 120)
|
||||
_cprint(f"{_GOLD}{'─' * w}{_RST}")
|
||||
print(flush=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue