mirror of
https://github.com/ollama/ollama.git
synced 2026-10-24 04:21:28 +00:00
Make alt+backspace delete word (#1223)
This commit is contained in:
parent
ecf8b793f0
commit
3cd07728f4
1 changed files with 2 additions and 0 deletions
|
|
@ -145,6 +145,8 @@ func (i *Instance) Readline() (string, error) {
|
|||
buf.MoveLeftWord()
|
||||
case 'f':
|
||||
buf.MoveRightWord()
|
||||
case CharBackspace:
|
||||
buf.DeleteWord()
|
||||
case CharEscapeEx:
|
||||
escex = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue