summaryrefslogtreecommitdiff
path: root/src/bin/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/config.c')
-rw-r--r--src/bin/config.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bin/config.c b/src/bin/config.c
index d2c3894..fabfbe4 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -7,7 +7,7 @@
7#include "col.h" 7#include "col.h"
8#include "utils.h" 8#include "utils.h"
9 9
10#define CONF_VER 12 10#define CONF_VER 13
11 11
12#define LIM(v, min, max) {if (v >= max) v = max; else if (v <= min) v = min;} 12#define LIM(v, min, max) {if (v >= max) v = max; else if (v <= min) v = min;}
13 13
@@ -364,6 +364,7 @@ _add_default_keys(Config *config)
364 ADD_KB("KP_Divide", 0, 0, 1, 0, "copy_clipboard"); 364 ADD_KB("KP_Divide", 0, 0, 1, 0, "copy_clipboard");
365 ADD_KB("Left", 0, 0, 1, 0, "term_prev"); 365 ADD_KB("Left", 0, 0, 1, 0, "term_prev");
366 ADD_KB("Right", 0, 0, 1, 0, "term_next"); 366 ADD_KB("Right", 0, 0, 1, 0, "term_next");
367 ADD_KB("Home", 0, 0, 1, 0, "top_backlog");
367} 368}
368 369
369void 370void
@@ -603,7 +604,10 @@ config_load(const char *key)
603 _add_key(config, "Left", 0, 0, 1, 0, "term_prev"); 604 _add_key(config, "Left", 0, 0, 1, 0, "term_prev");
604 _add_key(config, "Right", 0, 0, 1, 0, "term_next"); 605 _add_key(config, "Right", 0, 0, 1, 0, "term_next");
605 /*pass through*/ 606 /*pass through*/
606 case CONF_VER: /* 12 */ 607 case 12:
608 _add_key(config, "Home", 0, 0, 1, 0, "top_backlog");
609 /*pass through*/
610 case CONF_VER: /* 13 */
607 config->version = CONF_VER; 611 config->version = CONF_VER;
608 break; 612 break;
609 default: 613 default: