diff options
Diffstat (limited to 'files.go')
| -rw-r--r-- | files.go | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -17,13 +17,14 @@ import ( ) type ConfigMain struct { - DefaultScheme string `toml:"default_scheme"` - SoftWrap int `toml:"soft_wrap"` - DownloadFolder string `toml:"download_folder"` - VimKeys bool `toml:"vim_keys"` - Quiet bool `toml:"quiet"` - Pager string `toml:"pager"` - Timeout duration `toml:"duration"` + DefaultScheme string `toml:"default_scheme"` + SoftWrap int `toml:"soft_wrap"` + DownloadFolder string `toml:"download_folder"` + VimKeys bool `toml:"vim_keys"` + Quiet bool `toml:"quiet"` + Pager string `toml:"pager"` + Timeout duration `toml:"duration"` + SavedHistoryDepth int `toml:"saved_history_depth"` } type Config struct { @@ -63,6 +64,7 @@ func getConfig() (*Config, error) { Timeout: duration{ time.Duration(10 * time.Second), }, + SavedHistoryDepth: 30, }, Handlers: map[string]string{}, } |
