From 73ecaec6c9f8e7ec03f5d92c466861027561a0ae Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 18 Dec 2009 04:32:28 +0000 Subject: [PATCH] add: ctrl-d doesn't work on windows, suggest ctrl-c instead --- Commands/Add.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Add.hs b/Commands/Add.hs index e7d8cf260..c058f88a5 100644 --- a/Commands/Add.hs +++ b/Commands/Add.hs @@ -26,7 +26,7 @@ add opts args l | otherwise = do hPutStrLn stderr "Enter one or more transactions, which will be added to your ledger file.\n\ - \To complete a transaction, enter . as account name. To quit, enter control-d." + \To complete a transaction, enter . as account name. To quit, press control-c." today <- getCurrentDay getAndAddTransactions l opts args today `catch` (\e -> unless (isEOFError e) $ ioError e)