Merge pull request #874 from spiridoncha/master
Change /clear behaviour. Closes issue #855.
This commit is contained in:
@@ -1646,6 +1646,7 @@ _get_group(preference_t pref)
|
||||
{
|
||||
switch (pref)
|
||||
{
|
||||
case PREF_CLEAR_PERSIST_HISTORY:
|
||||
case PREF_SPLASH:
|
||||
case PREF_BEEP:
|
||||
case PREF_THEME:
|
||||
@@ -1773,6 +1774,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:
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
// represents all settings in .profrc
|
||||
// each enum value is mapped to a group and key in .profrc (see preferences.c)
|
||||
typedef enum {
|
||||
PREF_CLEAR_PERSIST_HISTORY,
|
||||
PREF_SPLASH,
|
||||
PREF_BEEP,
|
||||
PREF_VERCHECK,
|
||||
|
||||
Reference in New Issue
Block a user