forked from enlightenment/terminology
tyfuzz: read escape sequence from file given as argument in available
This commit is contained in:
parent
a4a26de7c3
commit
fd05f3cab5
|
@ -99,6 +99,12 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
|
||||||
|
|
||||||
_termpty_init(&ty);
|
_termpty_init(&ty);
|
||||||
|
|
||||||
|
if (argc > 1)
|
||||||
|
{
|
||||||
|
ty.fd = open(argv[1], O_RDONLY);
|
||||||
|
assert(ty.fd >= 0);
|
||||||
|
}
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
char *rbuf = buf;
|
char *rbuf = buf;
|
||||||
|
|
Loading…
Reference in New Issue