mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-21 14:26:30 +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