aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcocktailpeanut <121128867+cocktailpeanut@users.noreply.github.com>2023-03-19 17:44:20 -0400
committerGitHub <noreply@github.com>2023-03-19 23:44:20 +0200
commitda5303c1ea68aa19db829c634f1e10d08d409680 (patch)
treed064ae2e238a5a1b2787dbf96ce0620b79ed55d3
parent4545539d718cf88f4c3a76669b8ac2e26cd8a1e5 (diff)
bugfix: default should not be interactive (#304)
-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;
}