vt: log hex version of printed character too

This commit is contained in:
Daniel Eklöf 2019-11-05 13:56:25 +01:00
parent 5d763b9e12
commit 27d00b15c7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
vt.c
View file

@ -845,7 +845,7 @@ action_print(struct terminal *term, uint8_t c)
{
cell->wc = vt100_0[c - 0x60];
} else {
//LOG_DBG("print: ASCII: %c", c);
// LOG_DBG("print: ASCII: %c (0x%04x)", c, c);
cell->wc = c;
}