accept commands from stdin in script-mode - gramscii - A simple editor for ASCI… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 3d5be35e1e30fb6e1fda0ef9a9db6b6d5d839114 | |
parent 0522ef659553292f546fb1f3af43cfd2f4b07bb2 | |
Author: KatolaZ <[email protected]> | |
Date: Mon, 12 Aug 2019 09:10:31 +0100 | |
accept commands from stdin in script-mode | |
Diffstat: | |
M gramscii.c | 4 +--- | |
1 file changed, 1 insertion(+), 3 deletions(-) | |
--- | |
diff --git a/gramscii.c b/gramscii.c | |
@@ -183,8 +183,6 @@ int main(int argc, char *argv[]){ | |
argv++; | |
argc--; | |
} | |
- if (!script) | |
- commands(stdin); | |
+ commands(stdin); | |
cleanup(0); | |
- return 0; | |
} |