Merge pull request #33 from raboof/breakPyQtTest

Allow stopping test.py with ctrl-C
This commit is contained in:
Petr Vanek
2014-12-02 09:59:23 +01:00
+3 -1
View File
@@ -19,10 +19,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import sys, signal
from PyQt4 import Qt
import QTermWidget
signal.signal(signal.SIGINT, signal.SIG_DFL)
a = Qt.QApplication(sys.argv)
w = QTermWidget.QTermWidget()