tyfuzz: read escape sequence from file given as argument in available

This commit is contained in:
Boris Faure 2017-05-29 23:12:19 +02:00
parent a4a26de7c3
commit fd05f3cab5
1 changed files with 6 additions and 0 deletions

View File

@ -99,6 +99,12 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
_termpty_init(&ty);
if (argc > 1)
{
ty.fd = open(argv[1], O_RDONLY);
assert(ty.fd >= 0);
}
do
{
char *rbuf = buf;