packages/utils/mc/patches/020-fix-mouse-handling-newer-terminfo.patch
Michal Vasilek c2b68710e1
mc: update to 4.8.27, split -skins
* fixes CVE-2021-36370
* add a new subpackage mc-skins
* drop 030-fix-cchat_t.patch, fixed upstream
* refresh patches

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-08-18 11:47:29 +02:00

11 lines
316 B
Diff

--- a/lib/tty/tty.c
+++ b/lib/tty/tty.c
@@ -402,7 +402,7 @@ tty_init_xterm_support (gboolean is_xter
if (xmouse_seq != NULL)
{
if (strcmp (xmouse_seq, ESC_STR "[<") == 0)
- xmouse_seq = ESC_STR "[M";
+ xmouse_seq = NULL;
xmouse_extended_seq = ESC_STR "[<";
}