JLine interface
Converts something with a scoped apply
method into
something which can be similarly used in a for-comprehension
Lets you turn on signal handling within a certain block, attaching a callback to the handler and then turning it properly off again when the block exits.
Lets you turn on signal handling within a certain block,
attaching a callback to the handler and then turning it
properly off again when the block exits. Does sketchy
unsafe
stuff because that's the only way you can make
it properly reset when you're finished.
Created by haoyi on 8/29/15.
Everything to do with the interaction of the Ammonite REPL with the user and the terminal. Interfacing with ammonite-terminal (or with JLine)