summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-03-13 20:43:11 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-03-17 18:52:30 +0100
commitfe6b69c41c45d9c9ea1a1e8b30680edf041e6022 (patch)
tree78735f7bb74a4427147b0800403cf40a8bb3171b
parente060a0e7f2ffc1e0c82d8d3f18ddcf08d4144da1 (diff)
downloadweechat-fe6b69c41c45d9c9ea1a1e8b30680edf041e6022.zip
core: set insert_ok to 0 for backspace key
-rw-r--r--src/gui/curses/gui-curses-key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c
index 9dcb2c227..0cefcdf5c 100644
--- a/src/gui/curses/gui-curses-key.c
+++ b/src/gui/curses/gui-curses-key.c
@@ -321,6 +321,7 @@ gui_key_flush (int paste)
}
else if (key == 127)
{
+ insert_ok = 0;
key_str[0] = '\x01';
key_str[1] = '?';
key_str[2] = '\0';