aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index c7186e0..c005d17 100644
--- a/main.cpp
+++ b/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;
}