packages/utils/mc/patches/020-fix-mouse-handling-newer-terminfo.patch
Michal Vasilek e583b7e3e0
mc: update to 2.8.27
* fixes CVE-2021-36370
* refresh patches

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-08-18 15:17:52 +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 "[<";
}