[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Trapping Control-C in an interactive Lua program
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 12 Apr 2010 12:19:04 +0200
On Mon, Apr 12, 2010 at 12:02 PM, Jerome Vuarand
<jerome.vuarand@gmail.com> wrote:
> What you can do is simply use pcall, and check that the error message
> is "interrupted!".
Thanks, Jerome, that does seem to help.