

A world inhabited with nasty and vile creatures.

I'm mainly using Python 3, and the actual app uses Python 3-specific code, but I've tried the testcase in Python 2.7 as well and it shows the same problem. Summary: As you ascend from your shelter after the long long years, a brave new old world awaits you. And here, when I close the window, typing into the terminal afterwards doesn't show any of the types characters. and Broken Rules Interactive Media GmbH published by DrinkBox Studios Inc.
#DYSMANTLE BROKEN TERMINAL CODE#
This occurs while the code module is executing a call to input() to read from sys.stdin. Here, here, here and here are discussions of similar problems.įinally, here is a reduced testcase to demonstrate the problem: #!/usr/bin/env python3įrom PyQt4.QtGui import QApplication, QWidgetįor those unfamiliar with (Py)Qt, this will open a blank window, and when it is closed, the connection from app's lastWindowClosed signal will cause a call to the built-in exit() function to happen.

I've tried a variety of approaches to fix this, from using the curses module and other means to reset the terminal prior to running exit, to trying to emulate the stdin stream to exit by actually handing exit() to input() (unfornunately () does not work that way, as one might think it would), to trying to write my own non-blocking input() using threading, but I've been unable to pull together something working. the terminal appears to be left in a broken state, presumably due to some escape sequence issued by input(). Casual gaming content, for casual gamers.-Contents Of This Video-00:00 - Intro00:22 - Broken Steps Tomb02:45 - Looting13:42 - Reading Board23:14 - Tim. Dysmantle is an open world survival adventure game where you can destroy (almost) anything. Unfortunately I've hit a problem I've been unable to solve: When I exit() the app while code is inside input() (known as raw_input() in Python 2.x), my Linux terminal subsequently no longer echoes typed characters. Im in the very unfortunate position where I need to repair terminals to advance, but Ive explored the entire area and have put everything in the box. I've been writing a small utility application using Python 3 (the below testcase also works in Python 2, however) and PyQt 4 that uses the code module to spawn a REPL prompt allowing interaction with a Qt window.
