termpyesc: only compute logging content if it's going to be printed
This commit is contained in:
parent
bd6c81ed39
commit
17e5e1be55
|
@ -1172,6 +1172,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
|
||||||
cc++;
|
cc++;
|
||||||
return cc - c;
|
return cc - c;
|
||||||
unhandled:
|
unhandled:
|
||||||
|
if (eina_log_domain_level_check(_termpty_log_dom, EINA_LOG_LEVEL_WARN))
|
||||||
{
|
{
|
||||||
Eina_Strbuf *bf = eina_strbuf_new();
|
Eina_Strbuf *bf = eina_strbuf_new();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue