From 7342ecb6dbc8df7c517dd75fcc435c1d5923c0ba Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Mon, 30 Apr 2018 13:22:06 +0000 Subject: [PATCH] Update wikipage Managing CTRL+C in console application. (Signed-off-by:tioui). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2015 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../Mini-HowTo/Managing-CTRL-C-on-console.wiki | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/18.01/eiffel/Tutorials/Mini-HowTo/Managing-CTRL-C-on-console.wiki b/documentation/18.01/eiffel/Tutorials/Mini-HowTo/Managing-CTRL-C-on-console.wiki index e39a8cc4..216340e0 100644 --- a/documentation/18.01/eiffel/Tutorials/Mini-HowTo/Managing-CTRL-C-on-console.wiki +++ b/documentation/18.01/eiffel/Tutorials/Mini-HowTo/Managing-CTRL-C-on-console.wiki @@ -11,7 +11,7 @@ To detect the exception, you can inherit from the EXCEPTIONS< note description: "Show how to quit an application using CTRL+C (without trace)." - autheur: "Louis Marchand" + author: "Louis Marchand" date: "Wed, 25 Apr 2018 23:12:33 +0000" revision: "0.1" @@ -24,20 +24,20 @@ inherit create make -feature {NONE} -- Initialisation +feature {NONE} -- Initialization make - -- Exécute l'application. + -- Launch `Current'. local l_ctrl_c:BOOLEAN do if not l_ctrl_c then from until False loop - io.standard_default.put_string ("Appuyez sur CTRL+C%N") + io.standard_default.put_string ("Press CTRL+C%N") io.input.read_line end else - io.standard_default.put_string ("%NFermeture...%N") + io.standard_default.put_string ("%NClosing...%N") end rescue if attached {OPERATING_SYSTEM_SIGNAL_FAILURE}