On Wed, Aug 14, 2019 at 12:53 PM <xxxxxx@ancell-ent.com> wrote:

Providing that behavior is part of the with-raw-mode etc. spec, so
only a crash, (emergency-exit) or the like will potentially leave your
terminal in a messed up state.

Exactly.  The thunk passed to with-raw-mode is wrapped in a dynamic-wind that enables raw mode in the before-thunk and disables it in the after-thunk.


John Cowan          http://vrici.lojban.org/~cowan        xxxxxx@ccil.org
Does anybody want any flotsam? / I've gotsam.
Does anybody want any jetsam? / I can getsam.
        --Ogden Nash, No Doctors Today, Thank You