forked from enlightenment/terminology
terminology: use enough space for output
If value is outside range it can use most of unsigned int range as it is a unicode character. SVN revision: 77197
This commit is contained in:
parent
c8e8753ed7
commit
bb20618912
|
@ -1069,7 +1069,7 @@ _termpty_handle_seq(Termpty *ty, Eina_Unicode *c, Eina_Unicode *ce)
|
|||
for (j = 0; c + j < ce && j < 100; j++)
|
||||
{
|
||||
if ((c[j] < ' ') || (c[j] >= 0x7f))
|
||||
printf("\033[35m%02x\033[0m", c[j]);
|
||||
printf("\033[35m%08x\033[0m", c[j]);
|
||||
else
|
||||
printf("%c", c[j]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue