Commit Graph

3 Commits

Author SHA1 Message Date
7b88d7704c Fix T56372: Properly show error messages when submission fails
This also introduces a word-wrapping function that takes variable character
widths into account.
2018-08-14 15:08:58 +02:00
2999d063db Default global state variables to the correct type
Code gets easier to understand if variables don't change their type.
2018-08-14 13:49:47 +02:00
d252f75acf Separated space/__init__.py into a few modules
- `draw.py` contains all the drawing code
- `global_state.py` contains the `G` class introduced in the previous commit.
2018-08-14 13:38:05 +02:00