mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +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()
|
||||
case 'f':
|
||||
buf.MoveRightWord()
|
||||
case CharBackspace:
|
||||
buf.DeleteWord()
|
||||
case CharEscapeEx:
|
||||
escex = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user