Allow Ctrl-C to interrupt executing tasks like downloading a file

Description

JLine3 has some features to be able to register a handler to the terminal to listen to signals like Ctrl-C. Which this, it is theoretically possible to register a listener that will still fire in a thread even if readline() isn't currently being called. This could allow CommandBox to set some global flag that advises the current task to end. Lucee might also have a way to interrupt the main thread as well.

https://groups.google.com/d/topic/jline-users/YZQEzaQGdTY/discussion

Gliffy Diagrams

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created December 26, 2017 at 9:45 PM
Updated December 29, 2017 at 7:38 AM
Resolved December 29, 2017 at 7:38 AM