Add option to disable clearing screen
Somewhat hacky and might cause other issues, but should fix #365
This commit is contained in:
@ -116,6 +116,8 @@ type Config struct {
|
||||
Backspace1RemovesWord bool `yaml:"backspace1_removes_word"`
|
||||
Backspace2RemovesWord bool `yaml:"backspace2_removes_word"`
|
||||
|
||||
AlwaysClearScreen bool `yaml:"always_clear_screen"`
|
||||
|
||||
Dir string `yaml:"-"`
|
||||
DataDir string `yaml:"data_dir"`
|
||||
CacheDir string `yaml:"cache_dir"`
|
||||
@ -152,6 +154,7 @@ func NewConfig(configDir, dataDir, cacheDir, downloadDir string) *Config {
|
||||
NotifySound: true,
|
||||
SendToVerifiedOnly: false,
|
||||
Backspace1RemovesWord: true,
|
||||
AlwaysClearScreen: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user