Update terminis.py

This commit is contained in:
adrienmalin 2019-02-15 12:49:03 +01:00
parent 134bdf68df
commit ed96c65f65

View File

@ -7,8 +7,7 @@ except ImportError:
sys.exit( sys.exit(
"""This program requires curses. """This program requires curses.
You can install it on Windows with: You can install it on Windows with:
pip install --user windows-curses pip install --user windows-curses"""
"""
) )
import random import random
import sched import sched
@ -23,15 +22,13 @@ except ImportError:
DIR_NAME = "Terminis" DIR_NAME = "Terminis"
HELP_MSG = """terminis [--edit|--help|n] HELP_MSG = """terminis [--edit|--help|n]
Tetris clone for terminal Tetris clone for terminal
--edit: edit controls in text editor --edit: edit controls in text editor
--help: show command usage (this message) --help: show command usage (this message)
n (integer between 1 and 15): start at level n n (integer between 1 and 15): start at level n"""
"""
locale.setlocale(locale.LC_ALL, '') locale.setlocale(locale.LC_ALL, '')