mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 07:46:38 +02:00
core: force ctrl keys to lower case when they are added (closes #1875)
This commit is contained in:
@@ -141,7 +141,7 @@ buflist_buffer_get_irc_pointers (struct t_gui_buffer *buffer,
|
||||
* Buffers are sorted so that the active buffer and buffers immediately after
|
||||
* this one are first in list, followed by the buffers before the active one.
|
||||
* This sort respects the order of next active buffers that can be selected
|
||||
* with ctrl-X.
|
||||
* with ctrl-x.
|
||||
*
|
||||
* For example with such list of merged buffers:
|
||||
*
|
||||
|
||||
@@ -83,7 +83,7 @@ fset_buffer_set_title ()
|
||||
"(u)=unmark matching options, "
|
||||
"alt+p(p)=toggle plugins desc, "
|
||||
"alt+v(v)=toggle help bar, "
|
||||
"ctrl+X(x)=switch format, "
|
||||
"ctrl+x(x)=switch format, "
|
||||
"(q)=close buffer"),
|
||||
weechat_color (weechat_config_string (fset_config_color_title_current_option)),
|
||||
(num_options > 0) ? fset_buffer_selected_line + 1 : 0,
|
||||
@@ -1363,17 +1363,17 @@ fset_buffer_set_keys ()
|
||||
{ "meta-+", "/fset -add 1" },
|
||||
{ "meta-fmeta-r", "/fset -reset" },
|
||||
{ "meta-fmeta-u", "/fset -unset" },
|
||||
{ "meta-ctrl-J", "/fset -set" },
|
||||
{ "meta-ctrl-M", "/fset -set" },
|
||||
{ "meta-ctrl-j", "/fset -set" },
|
||||
{ "meta-ctrl-m", "/fset -set" },
|
||||
{ "meta-fmeta-n", "/fset -setnew" },
|
||||
{ "meta-fmeta-a", "/fset -append" },
|
||||
{ "meta-,", "/fset -mark" },
|
||||
{ "meta2-a", "/fset -up; /fset -mark" },
|
||||
{ "meta2-b", "/fset -mark; /fset -down" },
|
||||
{ "ctrl-L", "/fset -refresh" },
|
||||
{ "ctrl-l", "/fset -refresh" },
|
||||
{ "meta-p", "/mute /set fset.look.show_plugins_desc toggle" },
|
||||
{ "meta-v", "/bar toggle " FSET_BAR_NAME },
|
||||
{ "ctrl-X", "/fset -format" },
|
||||
{ "ctrl-x", "/fset -format" },
|
||||
{ NULL, NULL },
|
||||
};
|
||||
char str_key[64];
|
||||
|
||||
@@ -745,7 +745,7 @@ fset_command_init ()
|
||||
"see filters above)\n"
|
||||
"\n"
|
||||
"Other keys and input on fset buffer:\n"
|
||||
" ctrl+L refresh options and whole screen "
|
||||
" ctrl+l refresh options and whole screen "
|
||||
"(command: /fset -refresh)\n"
|
||||
" $ refresh options (keep marked options)\n"
|
||||
" $$ refresh options (unmark all options)\n"
|
||||
@@ -759,7 +759,7 @@ fset_command_init ()
|
||||
" w:xxx export options in file \"xxx\"\n"
|
||||
" w-:xxx export options in file \"xxx\" without help\n"
|
||||
" w+:xxx export options in file \"xxx\" with help\n"
|
||||
" ctrl+X x switch the format used to display options\n"
|
||||
" ctrl+x x switch the format used to display options\n"
|
||||
" q close fset buffer\n"
|
||||
"\n"
|
||||
"Mouse actions on fset buffer:\n"
|
||||
|
||||
@@ -433,7 +433,7 @@ fset_config_init ()
|
||||
fset_config_file, ptr_section,
|
||||
"format_number", "integer",
|
||||
N_("number of format used to display options; this is dynamically "
|
||||
"changed by the key ctrl-X on the fset buffer"),
|
||||
"changed by the key ctrl-x on the fset buffer"),
|
||||
NULL, 1, 2, "1", NULL, 0,
|
||||
NULL, NULL, NULL,
|
||||
&fset_config_change_format_number_cb, NULL, NULL,
|
||||
@@ -566,7 +566,7 @@ fset_config_init ()
|
||||
"an empty string uses the default format "
|
||||
"(\"${marked} ${name} ${type} ${value2}\"), which is without "
|
||||
"evaluation of string and then much faster; "
|
||||
"formats can be switched with key ctrl+X"),
|
||||
"formats can be switched with key ctrl-x"),
|
||||
NULL, 0, 0,
|
||||
"",
|
||||
NULL, 0,
|
||||
@@ -582,7 +582,7 @@ fset_config_init ()
|
||||
"an empty string uses the default format "
|
||||
"(\"${marked} ${name} ${type} ${value2}\"), which is without "
|
||||
"evaluation of string and then much faster; "
|
||||
"formats can be switched with key ctrl+X"),
|
||||
"formats can be switched with key ctrl-x"),
|
||||
NULL, 0, 0,
|
||||
"${marked} ${name} ${type} ${value2}${newline}"
|
||||
" ${empty_name} ${_default_value}${color:darkgray} -- "
|
||||
|
||||
Reference in New Issue
Block a user