aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 5f97d633a..73b56f2b7 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -2747,7 +2747,11 @@ int main(int argc, char* argv[])
else
{
tools::signal_handler::install([&w](int type) {
+#ifdef WIN32
+ if (type == CTRL_C_EVENT)
+#else
if (type == SIGINT)
+#endif
{
// if we're pressing ^C when refreshing, just stop refreshing
w.interrupt();