Browse Source

Ensure we turn off focus tracking on exit

master
Přemysl Eric Janouch 3 months ago
parent
commit
94a77a10d8
Signed by: p GPG Key ID: A0420B94F92B9493
  1. 3
      driver-ti.c

3
driver-ti.c

@ -432,7 +432,8 @@ stop_driver (termo_t *tk, void *info)
if (tk->mouse_proto == TERMO_MOUSE_PROTO_NONE)
return true;
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 *

Loading…
Cancel
Save