patch 9.0.1168: code to enable/disable mouse is not from terminfo/termcap
Problem: Code to enable/disable mouse is not from terminfo/termcap.
Solution: Request the "XM" entry and use it to set 'ttymouse' if possible.
diff --git a/src/optiondefs.h b/src/optiondefs.h
index de9fb6a..4d12e25 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -2934,6 +2934,7 @@
p_term("t_vs", T_VS)
p_term("t_WP", T_CWP)
p_term("t_WS", T_CWS)
+ p_term("t_XM", T_CXM)
p_term("t_xn", T_XN)
p_term("t_xs", T_XS)
p_term("t_ZH", T_CZH)