fix up XTSHIFTESCAPE #1061

pull/1923/head
nick black 3 years ago committed by nick black
parent 2240880718
commit 6708780e60

@ -1161,7 +1161,7 @@ static inline int
mouse_enable(FILE* out){
// Sets the shift-escape option, allowing shift+mouse to override the standard
// mouse protocol (mainly so copy-and-paste can still be performed).
#define XTSHIFTESCAPE "\x1b>1s"
#define XTSHIFTESCAPE "\x1b[>1s"
return term_emit(XTSHIFTESCAPE "\x1b[?" SET_BTN_EVENT_MOUSE ";"
/*SET_FOCUS_EVENT_MOUSE ";" */SET_SGR_MODE_MOUSE "h",
out, true);

Loading…
Cancel
Save