Makes /clear behavior configurable.

This commit is contained in:
Spiridonov Alexander
2016-11-07 03:26:15 +03:00
parent 0d6aef68e7
commit fd2346ccb4
3 changed files with 9 additions and 0 deletions

View File

@@ -1511,6 +1511,7 @@ _get_group(preference_t pref)
{
switch (pref)
{
case PREF_CLEAR_PERSIST_HISTORY:
case PREF_SPLASH:
case PREF_BEEP:
case PREF_THEME:
@@ -1626,6 +1627,8 @@ _get_key(preference_t pref)
{
switch (pref)
{
case PREF_CLEAR_PERSIST_HISTORY:
return "clear.persist_history";
case PREF_SPLASH:
return "splash";
case PREF_BEEP: