diff --git a/lib/common/src/version.h b/lib/common/src/version.h index aa34a608..35e53100 100644 --- a/lib/common/src/version.h +++ b/lib/common/src/version.h @@ -7,4 +7,4 @@ #pragma once -#define NCHAT_VERSION "4.46" +#define NCHAT_VERSION "4.47" diff --git a/src/nchat.1 b/src/nchat.1 index 2f962e7f..5044a461 100644 --- a/src/nchat.1 +++ b/src/nchat.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man. -.TH NCHAT "1" "March 2024" "nchat v4.46" "User Commands" +.TH NCHAT "1" "March 2024" "nchat v4.47" "User Commands" .SH NAME nchat \- ncurses chat .SH SYNOPSIS diff --git a/src/uikeyconfig.cpp b/src/uikeyconfig.cpp index 2dacdefb..f5a9c539 100644 --- a/src/uikeyconfig.cpp +++ b/src/uikeyconfig.cpp @@ -202,13 +202,13 @@ void UiKeyConfig::Init(bool p_MapKeys) { "begin_line", "KEY_CTRLA" }, { "end_line", "KEY_CTRLE" }, #if defined(__APPLE__) - { "backward_word", "\\033\\142" }, // opt-left - { "forward_word", "\\033\\146" }, // opt-right - { "kill_word", "\\033\\010" }, // opt-delete + { "backward_word", "\\33\\142" }, // opt-left + { "forward_word", "\\33\\146" }, // opt-right + { "kill_word", "\\33\\50" }, // opt-delete #else // defined(__linux__) - { "backward_word", "\\1040" }, // alt-left - { "forward_word", "\\1057" }, // alt-right - { "kill_word", "\\1006" }, // alt-delete + { "backward_word", "\\4001040" }, // alt-left + { "forward_word", "\\4001057" }, // alt-right + { "kill_word", "\\4001006" }, // alt-delete #endif { "edit_msg", "KEY_CTRLZ" }, { "backward_kill_word", "\\033\\177" }, // alt/opt-backspace