q to quit
This commit is contained in:
parent
469ffcaa08
commit
60e07970fa
1 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ int main(int argc, char *argv[])
|
||||||
printf("f = forward transfer\n");
|
printf("f = forward transfer\n");
|
||||||
if (dial[0])
|
if (dial[0])
|
||||||
printf(". = dial %s\n", dial);
|
printf(". = dial %s\n", dial);
|
||||||
printf("Escape to exit.\n");
|
printf("Escape or q to exit.\n");
|
||||||
|
|
||||||
tcgetattr(0, &orig);
|
tcgetattr(0, &orig);
|
||||||
now = orig;
|
now = orig;
|
||||||
|
@ -206,7 +206,7 @@ int main(int argc, char *argv[])
|
||||||
dial_pa(s, dial);
|
dial_pa(s, dial);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (ch == 3)
|
if (ch == 3 || ch == 'q')
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
tcsetattr(0, TCSANOW, &orig);
|
tcsetattr(0, TCSANOW, &orig);
|
||||||
|
|
Loading…
Reference in a new issue