mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-01 07:15:32 -04:00
vt: only prep logging of CSI/ESC parameters when debug logging is enabled
This commit is contained in:
parent
0f48b4f8f7
commit
9e3b8ab3ff
2 changed files with 2 additions and 2 deletions
2
vt.c
2
vt.c
|
|
@ -555,7 +555,7 @@ static const enum action exit_actions[] = {
|
|||
static bool
|
||||
esc_dispatch(struct terminal *term, uint8_t final)
|
||||
{
|
||||
#if defined(_DEBUG)
|
||||
#if defined(_DEBUG) && defined(LOG_ENABLE_DBG) && LOG_ENABLED_DBG
|
||||
char log[1024];
|
||||
int c = snprintf(log, sizeof(log), "ESC: ");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue