packages/utils/mc/patches/020-fix-mouse-handling-newer-terminfo.patch
Rosen Penev 25217547b3 mc: update to 4.8.26
Refreshed patches and added one from alpine linux to fix musl
compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-14 23:41:39 -08:00

11 lines
316 B
Diff

--- a/lib/tty/tty.c
+++ b/lib/tty/tty.c
@@ -393,7 +393,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 "[<";
}