Add key name "bspace" for --bind (bspace != ctrl-h)

This commit is contained in:
Junegunn Choi
2015-06-16 02:18:49 +09:00
parent 45bd323cab
commit d54a4fa223
3 changed files with 5 additions and 1 deletions

View File

@@ -293,6 +293,8 @@ func parseKeyChords(str string, message string, bind bool) []int {
chord = curses.CtrlM
case "space":
chord = curses.AltZ + int(' ')
case "bspace":
chord = curses.BSpace
case "tab":
chord = curses.Tab
case "btab":