accept commands from stdin in script-mode - gramscii - A simple editor for ASCII box-and-arrow charts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 3d5be35e1e30fb6e1fda0ef9a9db6b6d5d839114
 (DIR) parent 0522ef659553292f546fb1f3af43cfd2f4b07bb2
 (HTM) Author: KatolaZ <katolaz@freaknet.org>
       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(-)
       ---
 (DIR) 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;
        }