Ensure we turn off focus tracking on exit
This commit is contained in:
parent
d39c35e59e
commit
94a77a10d8
|
@ -432,7 +432,8 @@ stop_driver (termo_t *tk, void *info)
|
||||||
if (tk->mouse_proto == TERMO_MOUSE_PROTO_NONE)
|
if (tk->mouse_proto == TERMO_MOUSE_PROTO_NONE)
|
||||||
return true;
|
return true;
|
||||||
return mouse_set_proto (ti, tk->mouse_proto, false)
|
return mouse_set_proto (ti, tk->mouse_proto, false)
|
||||||
&& mouse_set_tracking_mode (ti, tk->mouse_tracking, false);
|
&& mouse_set_tracking_mode (ti, tk->mouse_tracking, false)
|
||||||
|
&& write_string (ti->tk, "\x1b[?1004l");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
|
|
Loading…
Reference in New Issue