mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 16:26:59 +00:00
Make alt+backspace delete word (#1223)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user