diff options
Diffstat (limited to 'pkgs/games/vessel/isatty.c')
-rw-r--r-- | pkgs/games/vessel/isatty.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/games/vessel/isatty.c b/pkgs/games/vessel/isatty.c new file mode 100644 index 00000000000..38ee2b6ce2e --- /dev/null +++ b/pkgs/games/vessel/isatty.c @@ -0,0 +1,6 @@ +// We override isatty to help 'automate' installers. + +// Some installers (mojoinstall) have a stdio GUI that refuses to run if you +// feed it a file on stdin. This should help that. + +int isatty(int fd) { return 1; } |