"examples/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "8ed1478276b9d505c36b6b39876242a51b5b93a5"
Unverified Commit 3cd07728 authored by Kevin Cao's avatar Kevin Cao Committed by GitHub
Browse files

Make alt+backspace delete word (#1223)

parent ecf8b793
...@@ -145,6 +145,8 @@ func (i *Instance) Readline() (string, error) { ...@@ -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
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment