Commit Diff


commit - 4f21c41a1c19f769a2bf7941ee18fa0606266cca
commit + 190b94c7a2a7bb2f5d55cbb6eb1779fd042c6467
blob - 6c167b5d7c46b78e3b696b955b6bde833196f1c2
blob + d954288508f8432fae0efd78749e467931973bea
--- st.c
+++ st.c
@@ -860,7 +860,6 @@ mousereport(XEvent *e) {
 			+ ((state & ControlMask) ? 16 : 0);
 	}
 
-	len = 0;
 	if(IS_SET(MODE_MOUSESGR)) {
 		len = snprintf(buf, sizeof(buf), "\033[<%d;%d;%d%c",
 				button, x+1, y+1,