mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-07 03:35:21 +00:00
Make alt+backspace delete word (#1223)
This commit is contained in:
parent
ecf8b793f0
commit
3cd07728f4
@ -145,6 +145,8 @@ func (i *Instance) Readline() (string, error) {
|
|||||||
buf.MoveLeftWord()
|
buf.MoveLeftWord()
|
||||||
case 'f':
|
case 'f':
|
||||||
buf.MoveRightWord()
|
buf.MoveRightWord()
|
||||||
|
case CharBackspace:
|
||||||
|
buf.DeleteWord()
|
||||||
case CharEscapeEx:
|
case CharEscapeEx:
|
||||||
escex = true
|
escex = true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user