summaryrefslogtreecommitdiff
path: root/src/core/wee-config.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-02-22 21:18:22 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-03-16 20:42:19 +0100
commit1f5c791c37957d8714fb0e7d6e962531790e259b (patch)
tree964d045319a87430d8ca117bba3a42daafbf8e22 /src/core/wee-config.h
parent5b5ccb236f2f59cd792f0a2bda148d951b9156ed (diff)
downloadweechat-1f5c791c37957d8714fb0e7d6e962531790e259b.zip
core: use new key name in command `/key` and configuration file
Legacy keys are automatically converted to new names when loading configuration file `weechat.conf`. Examples: "ctrl-I" => "tab" "meta2-1;3A" => "meta-up" "meta2-Z" => "shift-tab" "meta-wmeta-meta2-A" => "meta-w,meta-up" "ctrl-Cb" => "ctrl-c,b"
Diffstat (limited to 'src/core/wee-config.h')
-rw-r--r--src/core/wee-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/wee-config.h b/src/core/wee-config.h
index cb38034fc..921a06203 100644
--- a/src/core/wee-config.h
+++ b/src/core/wee-config.h
@@ -31,6 +31,8 @@ struct t_gui_buffer;
#define WEECHAT_CONFIG_NAME "weechat"
#define WEECHAT_CONFIG_PRIO_NAME "110000|weechat"
+#define WEECHAT_CONFIG_VERSION 2
+
#define TAB_MAX_WIDTH 64
enum t_config_look_align_end_of_lines