mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-04 02:21:47 +00:00
fix(tui): align Ctrl+L and /model with classic CLI semantics
Make Ctrl+L non-destructive by redrawing the current screen state instead of starting a new session, and stop auto-appending --global for typed /model commands so session scope remains the default unless explicitly requested.
This commit is contained in:
parent
d5a89283b7
commit
4909b94f99
5 changed files with 11 additions and 19 deletions
|
|
@ -26,6 +26,11 @@ describe('constants', () => {
|
|||
})
|
||||
})
|
||||
|
||||
it('documents Ctrl/Cmd+L as non-destructive redraw', () => {
|
||||
expect(HOTKEYS.some(([, d]) => d === 'redraw / repaint')).toBe(true)
|
||||
expect(HOTKEYS.some(([, d]) => d.includes('new session'))).toBe(false)
|
||||
})
|
||||
|
||||
it('TOOL_VERBS maps known tools (verb-only, no emoji)', () => {
|
||||
expect(TOOL_VERBS.terminal).toBe('terminal')
|
||||
expect(TOOL_VERBS.read_file).toBe('reading')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue