summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-main.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-29 11:17:15 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-29 12:41:28 +0100
commitfd746a04d65ef9abd8bd3f6495ab09a8e9616289 (patch)
treef85a96c38c4af5f3098ea3693a4ea56ff8606901 /src/gui/curses/gui-curses-main.c
parentbe0c04f49857109170bd6687d2a3a585369b02b9 (diff)
downloadweechat-fd746a04d65ef9abd8bd3f6495ab09a8e9616289.zip
core: force ctrl keys to lower case when they are added (closes #1875)
Diffstat (limited to 'src/gui/curses/gui-curses-main.c')
-rw-r--r--src/gui/curses/gui-curses-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c
index 2f42c7388..1a95f2e84 100644
--- a/src/gui/curses/gui-curses-main.c
+++ b/src/gui/curses/gui-curses-main.c
@@ -111,7 +111,7 @@ gui_main_get_password (const char **prompt, char *password, int size)
/* enter */
if (ch == '\n')
break;
- /* terminal lost or ctrl-C */
+ /* terminal lost or ctrl-c */
if ((ch == ERR) || (ch == 3))
{
password[0] = 3;
@@ -164,7 +164,7 @@ gui_main_init ()
struct t_gui_bar_window *ptr_bar_win;
char title[256];
- /* allow Ctrl-C to quit WeeChat in headless mode */
+ /* allow ctrl-c to quit WeeChat in headless mode */
if (weechat_headless)
signal_catch (SIGINT, &gui_main_signal_sigint);