summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-10-03 19:59:35 +0200
committerDave Davenport <qball@gmpclient.org>2017-10-03 19:59:35 +0200
commit2784959fc17c9b43cb438feeb573574e1e53f5a2 (patch)
treebd55ca4614d74a1531279084f71078af3868c973 /include
parent7081b56aca059574f8ef7bcdb169ef1979ae9f67 (diff)
Allow maximum history size to be configured.
Fixes: #613
Diffstat (limited to 'include')
-rw-r--r--include/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/settings.h b/include/settings.h
index 295a8cd0..10a5fc4c 100644
--- a/include/settings.h
+++ b/include/settings.h
@@ -157,6 +157,9 @@ typedef struct
char *theme;
/** Path where plugins can be found. */
char * plugin_path;
+
+ /** Maximum history length per mode. */
+ unsigned int max_history_size;
} Settings;
/** Global Settings structure. */
extern Settings config;