Add config for selecting messages

This commit is contained in:
ayn2op 2023-01-08 22:20:58 +05:30
parent 71158b12c9
commit 1b082bb352

View file

@ -18,6 +18,8 @@ type (
CommonKeysConfig `yaml:",inline"`
Reply string `yaml:"reply"`
ReplyMention string `yaml:"reply_mention"`
SelectPrevious string `yaml:"select_previous"`
SelectNext string `yaml:"select_next"`
}
MessageInputKeysConfig struct {
@ -107,6 +109,9 @@ func newConfig() (*Config, error) {
CommonKeysConfig: commonKeys,
Reply: "Rune[r]",
ReplyMention: "Rune[R]",
SelectPrevious: "Up",
SelectNext: "Down",
},
MessageInput: MessageInputKeysConfig{
CommonKeysConfig: commonKeys,