summaryrefslogtreecommitdiff
path: root/sapi/phpdbg
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r--sapi/phpdbg/phpdbg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 9e82578412..e7012d0905 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -1140,6 +1140,10 @@ static inline void phpdbg_sigint_handler(int signo) /* {{{ */
}
} else {
PHPDBG_G(flags) |= PHPDBG_IS_SIGNALED;
+ if (PHPDBG_G(flags) & PHPDBG_PREVENT_INTERACTIVE) {
+ PHPDBG_G(flags) |= PHPDBG_HAS_PAGINATION;
+ PHPDBG_G(flags) &= ~PHPDBG_PREVENT_INTERACTIVE;
+ }
}
}
} /* }}} */