fix: cap user-input separator at 120 cols (matches response box)
This commit is contained in:
2
cli.py
2
cli.py
@@ -3239,7 +3239,7 @@ class HermesCLI:
|
|||||||
# Add user message to history
|
# Add user message to history
|
||||||
self.conversation_history.append({"role": "user", "content": message})
|
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}")
|
_cprint(f"{_GOLD}{'─' * w}{_RST}")
|
||||||
print(flush=True)
|
print(flush=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user