parent
4988399280
commit
4aaaf4e21f
@ -30,8 +30,16 @@ func anyKeyHandler(ctx *context.AppContext) func(termui.Event) {
|
|||||||
actionInsertMode(ctx)
|
actionInsertMode(ctx)
|
||||||
case "<previous>":
|
case "<previous>":
|
||||||
actionScrollUpChat(ctx)
|
actionScrollUpChat(ctx)
|
||||||
|
case "C-b":
|
||||||
|
actionScrollUpChat(ctx)
|
||||||
|
case "C-u":
|
||||||
|
actionScrollUpChat(ctx)
|
||||||
case "<next>":
|
case "<next>":
|
||||||
actionScrollDownChat(ctx)
|
actionScrollDownChat(ctx)
|
||||||
|
case "C-f":
|
||||||
|
actionScrollDownChat(ctx)
|
||||||
|
case "C-d":
|
||||||
|
actionScrollDownChat(ctx)
|
||||||
}
|
}
|
||||||
} else if ctx.Mode == context.InsertMode {
|
} else if ctx.Mode == context.InsertMode {
|
||||||
switch key {
|
switch key {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user