• Jan Djärv's avatar
    Don't open files from Cocoa-parsed command line. · adff3182
    Jan Djärv authored
    --eval '(whatever)' will open '(whatever)' if --eval is the last option.
    
    * src/nsterm.m (ns_do_open_file): New variable.
    (ns_term_init): Set ns_do_open_file to NO after run returns.
    (openFile, openTempFile, openFileWithoutUI, openFiles): Open
    files only if ns_do_open_file.
    adff3182
nsterm.m 203 KB