Browse Source

bugfix: default should not be interactive (#304)

cocktailpeanut 2 years ago
parent
commit
da5303c1ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.cpp

+ 1 - 1
main.cpp

@@ -867,7 +867,7 @@ int main(int argc, char ** argv) {
     }
 
     // enable interactive mode if reverse prompt is specified
-    if (!antipromptv_inp.size()) {
+    if (antipromptv_inp.size() != 0) {
         params.interactive = true;
     }