Update wikipage Managing CTRL+C on console. (Signed-off-by:tioui).

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1988 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
eiffel-org
2018-04-29 23:54:50 +00:00
parent 118133462d
commit 132dcb1da5
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
[[Property:uuid|5CA34C5D-30F1-4D6F-9FE4-B555E541EA8C]]
[[Property:weight|0]]
[[Property:title|Managing CTRL+C on console]]
[[Property:link_title|CTRL_C terminal]]
Normally, if the user use the CTRL+C keys, the Eiffel application detect it as an error and throw an exception of type {OPERATING_SYSTEM_SIGNAL_FAILURE}. To manage the CTRL+C keys, you can use a "rescue" clause to detect the exception and a "retry" mecanism to cancel the exception handeling done by the Eiffel runtime.