Skip to content

Instantly share code, notes, and snippets.

@amichelic
amichelic / disable-mouse_reporting.diff
Created December 15, 2017 11:48
This patch disables mouse reporting in xterm.
--- xterm-327.orig/charproc.c
+++ xterm-327/charproc.c
@@ -5260,6 +5260,7 @@ really_set_mousemode(XtermWidget xw,
Bool enabled,
XtermMouseModes mode)
{
+ enabled = 0;
TScreenOf(xw)->send_mouse_pos = enabled ? mode : MOUSE_OFF;
if (TScreenOf(xw)->send_mouse_pos != MOUSE_OFF)
xtermShowPointer(xw, True);