vt: collect (intermediate): log _which_ character we collected

This commit is contained in:
Daniel Eklöf 2020-02-01 19:29:14 +01:00
parent 4dde699107
commit bbb7b60b17
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
vt.c
View file

@ -259,7 +259,7 @@ action_param(struct terminal *term, uint8_t c)
static void
action_collect(struct terminal *term, uint8_t c)
{
LOG_DBG("collect");
LOG_DBG("collect: %c", c);
if (term->vt.private[0] == 0)
term->vt.private[0] = c;
else if (term->vt.private[1] == 0)