-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
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
Console black until it is moved #57
Comments
I can't reproduce this on Windows. I speculate that the issue might be caused by sleeping rather than waiting for an event. You could try replacing the sleep with If that doesn't work then you could use a different renderer for The |
I need to make a correction (I’ve been trying a handful of things to see what works). I used a modified version of the code at http://www.rogueliketutorials.com/libtcod/1 `import tcod def main():
` |
Oh, and I tried the different render modes and they either caused a crash (probably because those aren't available) or had the same effect |
Your code looks correct. Be sure to change the default background color, example: All renderer modes should work on a modern computer. If there's something in libtcod causing the issue then it'd be useful if I knew which renderers were crashing. |
I've tracked the issue down to SDL2, version 2.0.9 fixes this issue, so I'll get it updated. |
|
I can verify that it is fixed in 8.1.1. Thanks! |
I am trying to run the same code given in https://python-tcod.readthedocs.io/en/latest/tcod.html. When I run it, the console is black. When I move the console window, "Hello, world" appears.
I am running MacOS Mojave and Python 3.7.1.
The text was updated successfully, but these errors were encountered: