We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally reported by Edward Z. Yang | August 26th, 2010 @ 06:31 PM
Run a test-framework driver.
Expected: When it's done, my terminal cursor is restored Actual: Terminal cursor not restored.
This might be ansi-terminal/ansi-wl-pprint's fault, or we might not be calling the correct reset frob.
The text was updated successfully, but these errors were encountered:
Edward Z. Yang replies on August 26th, 2010 @ 10:34 PM
Extra information: this only seems to occur when using runghc, not when running a compiled binary.
Sorry, something went wrong.
Edward Z. Yang replies on August 26th, 2010 @ 10:45 PM
Fix is to explicitly flush after you restore the cursor:
hideCursorDuring :: IO a -> IO a hideCursorDuring action = bracket hideCursor (const (showCursor >> hFlush stdout)) (const action)
Edward Z. Yang replies on August 26th, 2010 @ 10:48 PM
See also here; it looks like this got fixed in GHC 6.12.3.
No branches or pull requests
Originally reported by Edward Z. Yang | August 26th, 2010 @ 06:31 PM
Run a test-framework driver.
Expected: When it's done, my terminal cursor is restored
Actual: Terminal cursor not restored.
This might be ansi-terminal/ansi-wl-pprint's fault, or we might not be calling the correct reset frob.
The text was updated successfully, but these errors were encountered: