termpyesc: only compute logging content if it's going to be printed

devs/iscaro/meson
Boris Faure 6 years ago
parent bd6c81ed39
commit 17e5e1be55
  1. 1
      src/bin/termptyesc.c

@ -1172,6 +1172,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
cc++;
return cc - c;
unhandled:
if (eina_log_domain_level_check(_termpty_log_dom, EINA_LOG_LEVEL_WARN))
{
Eina_Strbuf *bf = eina_strbuf_new();

Loading…
Cancel
Save