Make alt+backspace delete word (#1223)

This commit is contained in:
Kevin Cao
2023-11-21 15:26:47 -05:00
committed by GitHub
parent ecf8b793f0
commit 3cd07728f4

View File

@@ -145,6 +145,8 @@ func (i *Instance) Readline() (string, error) {
buf.MoveLeftWord()
case 'f':
buf.MoveRightWord()
case CharBackspace:
buf.DeleteWord()
case CharEscapeEx:
escex = true
}