Implement other keys

Fixes #2
This commit is contained in:
erroneousboat 2016-10-09 16:15:10 +02:00
parent 4988399280
commit 4aaaf4e21f

View File

@ -30,8 +30,16 @@ func anyKeyHandler(ctx *context.AppContext) func(termui.Event) {
actionInsertMode(ctx)
case "<previous>":
actionScrollUpChat(ctx)
case "C-b":
actionScrollUpChat(ctx)
case "C-u":
actionScrollUpChat(ctx)
case "<next>":
actionScrollDownChat(ctx)
case "C-f":
actionScrollDownChat(ctx)
case "C-d":
actionScrollDownChat(ctx)
}
} else if ctx.Mode == context.InsertMode {
switch key {