vt: fix logging of ESC intermediates and parameters

This commit is contained in:
Daniel Eklöf 2019-07-03 16:20:28 +02:00
parent b5dccf2883
commit cfd39c0967
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
vt.c
View file

@ -555,7 +555,7 @@ static const enum action exit_actions[] = {
static bool
esc_dispatch(struct terminal *term, uint8_t final)
{
#if defined(_DEBUG) && defined(LOG_ENABLE_DBG) && LOG_ENABLED_DBG
#if defined(_DEBUG) && defined(LOG_ENABLE_DBG) && LOG_ENABLE_DBG
char log[1024];
int c = snprintf(log, sizeof(log), "ESC: ");