Closed earl closed 12 years ago
ctrl-c is used to exit
Should both ctrl-c and ctrl-d exit? Or should it be configurable? Maybe in system/console together with a key to toggle auto brackets.
Ctrl-D (as the very first input after a new prompt) should definitely exit, at least on Linux & OSX.
Ctrl-C should somewhen in the future probably rather send a (catchable) "interrupt" signal/event, rather than exit right away. But that really is a separate issue, imo.
I'll chirp in. Ctrl-D for end-of-file (quit) in the console, Ctrl-C for SIGINT
If World supported configurable keyboard and line-edit, it would be a win John, but I'd settle for simple first. Your console is already a beauty.
Done.
Currently pressing ctrl-d inputs the EOT character (u+0004). It would be nice if ctrl-d just exits the interpreter instead (as if calling
q
).