[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Break out of program in interpreter
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 14 May 2013 09:02:50 -0300
> I thought that control-C would end a function running in the interpreter and return me to the interpreter's command line
It does:
% lua
Lua 5.2.2 Copyright (C) 1994-2013 Lua.org, PUC-Rio
> while true do end
^Cinterrupted!
stack traceback:
stdin:1: in main chunk
[C]: in ?
>
Just don't press it twice in a row.