parent
4988399280
commit
4aaaf4e21f
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user