You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many REPLs (including GHCi and Python's REPL) interpret Ctrl-D as EOF and quit in response. It would be handy if the Crucible debugger could do the same.
isocline doesn't make this entirely straightforward to accomplish. At first glance, readlineExMaybe seems like what we'd want, as that causes Ctrl-D to return Nothing instead of empty text. On the other hand, Ctrl-C also returns Nothing, and I doubt that we'd want the debugger to exit on Ctrl-C (neither GHCi nor Python do this). See also https://github.com/daanx/isocline/issues/16.isocline doesn't make this entirely straightforward to accomplish. At first glance, readlineExMaybe seems like what we'd want, as that causes Ctrl-D to return Nothing instead of empty text. On the other hand, Ctrl-C also returns Nothing, and I doubt that we'd want the debugger to exit on Ctrl-C (neither GHCi nor Python do this). See also daanx/isocline#16.
The text was updated successfully, but these errors were encountered:
From @RyanGlScott:
The text was updated successfully, but these errors were encountered: