mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
fix: model et al selection on enter
This commit is contained in:
parent
52c11d172a
commit
3bc661ea29
2 changed files with 38 additions and 8 deletions
|
|
@ -731,7 +731,8 @@ function parseKeypress(s: string = ''): ParsedKey {
|
|||
key.raw = undefined
|
||||
key.name = 'return'
|
||||
} else if (s === '\n') {
|
||||
key.name = 'enter'
|
||||
key.raw = undefined
|
||||
key.name = 'return'
|
||||
} else if (s === '\t') {
|
||||
key.name = 'tab'
|
||||
} else if (s === '\b' || s === '\x1b\b') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue