mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-21 03:39:54 +00:00
fix: cap user-input separator at 120 cols (matches response box)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user