From 356a7cad840b95fc7906967ac9e5ade88a3adfac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Sat, 20 Jul 2019 01:40:31 +0200 Subject: [PATCH] show a message on Ctrl+C --- nimbus/nimbus.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/nimbus/nimbus.nim b/nimbus/nimbus.nim index 9224a24e2..8eb4a32a9 100644 --- a/nimbus/nimbus.nim +++ b/nimbus/nimbus.nim @@ -51,6 +51,7 @@ proc start() = # workaround for https://github.com/nim-lang/Nim/issues/4057 setupForeignThreadGc() nimbus.state = Stopping + echo "\nCtrl+C pressed. Waiting for a graceful shutdown." setControlCHook(controlCHandler) ## logging