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…
Reference in a new issue