itsapi / pycraft

A Minecraft-inspired game for the terminal
GNU General Public License v2.0
198 stars 21 forks source link

Settings Editing in UI #106

Closed olls closed 8 years ago

olls commented 8 years ago

This is not yet ready as the colours setting doesn't get loaded until you restart the program, because of the init_colours function. We either need to make the settings global, or pass them into every colour_str call, or call a function to change the setting every time the setting is changed (which I don't want to do because then the state is maintained in two places).

olls commented 8 years ago

So this version works, but I'm not sure if we really want it... Is there a better way?