diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-26 16:14:35 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-26 20:30:12 +0200 |
commit | e6b19056799f924dc647b821a904f2e668034801 (patch) | |
tree | f4ec19c854dfe6a9124a6331607f82281155cd8b | |
parent | 9ac30381faf07f298e88ee777cbc6748b68a5cab (diff) | |
download | weechat-e6b19056799f924dc647b821a904f2e668034801.zip |
core: revert keys `meta-r` (delete line) and `meta-R` (delete input) (issue #1503)
-rw-r--r-- | src/gui/curses/gui-curses-key.c | 4 | ||||
-rw-r--r-- | src/gui/gui-input.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c index cf0c9c57f..a69f203d0 100644 --- a/src/gui/curses/gui-curses-key.c +++ b/src/gui/curses/gui-curses-key.c @@ -96,8 +96,8 @@ gui_key_default_bindings (int context, int create_option) BIND("meta-d", "/input delete_next_word"); BIND("ctrl-k", "/input delete_end_of_line"); BIND("meta-ctrl-k", "/input delete_end_of_input"); - BIND("meta-r", "/input delete_input"); - BIND("meta-R", "/input delete_line"); + BIND("meta-r", "/input delete_line"); + BIND("meta-R", "/input delete_input"); BIND("ctrl-t", "/input transpose_chars"); BIND("ctrl-u", "/input delete_beginning_of_line"); BIND("meta-ctrl-u", "/input delete_beginning_of_input"); diff --git a/src/gui/gui-input.c b/src/gui/gui-input.c index c614867b6..f7f79a8ad 100644 --- a/src/gui/gui-input.c +++ b/src/gui/gui-input.c @@ -1071,7 +1071,7 @@ gui_input_delete_end_of_input (struct t_gui_buffer *buffer) } /* - * Deletes entire line (default key: alt-R). + * Deletes current line (default key: alt-r). */ void @@ -1111,7 +1111,7 @@ gui_input_delete_line (struct t_gui_buffer *buffer) } /* - * Deletes entire input (default key: alt-r). + * Deletes entire input (default key: alt-R). */ void |